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@winehq.org ReportedBy: gus@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 ;)