[Bug 5137] New: avifil32 limits itself to max of 1024 frames when writing avis

Wine Bugs wine-bugs at winehq.org
Wed Apr 26 15:45:08 CDT 2006


http://bugs.winehq.org/show_bug.cgi?id=5137

           Summary: avifil32 limits itself to max of 1024 frames when
                    writing avis
           Product: Wine
           Version: 0.9.12.
          Platform: Other
        OS/Version: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-multimedia
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: gus at inodes.org


>From a quick look at avifile.c:AVIFile_AddRecord(), you'll see that it limits
itself to creating indices with 1024 entries - adding another hits the assert on
line 1461.  It would be a simple change to replace the assert with a codepath
that reallocs a larger idxRecords array and continues.  (Assuming, of course
that the AVI file format deals with more than 1024 index entries - I don't know
any more about the AVI format than what I've worked out from the wine API ;)

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list