13 Sep
2005
13 Sep
'05
8:31 p.m.
"Robert Shearman" <rob(a)codeweavers.com> wrote:
Initialize unused members of the MMCKINFO structs to 0 to fix chunk detection with mmioDescend.
--- dlls/comctl32/animate.c 30 Aug 2005 10:07:18 -0000 1.68 +++ dlls/comctl32/animate.c 13 Sep 2005 20:36:03 -0000 @@ -476,6 +476,7 @@ static BOOL ANIMATE_GetAviInfo(ANIMATE_I DWORD numFrame; DWORD insize;
+ memset(&ckMainRIFF, 0, sizeof(ckMainRIFF)); if (mmioDescend(infoPtr->hMMio, &ckMainRIFF, NULL, 0) != 0) {
I don't think that this is a correct fix, mmioDescend works under Windows without a need to initialize ckMainRIFF. -- Dmitry.
7485
Age (days ago)
7485
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov