"Robert Shearman" rob@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.