[Ffmpeg-devel] [PATCH] Fix for AVI files with odd sized 'movi' list

Michael Niedermayer michaelni
Wed Aug 30 23:40:11 CEST 2006


On Wed, Aug 30, 2006 at 03:12:35PM -0400, David Conrad wrote:
> Hello,
> I've come across some old AVI files that have an odd size written for  
> the movi list. This is arguably invalid since the list should be  
> guaranteed to be even since it contains chunks padded to an even size  
> (the files in question do have chunks padded to an even size, but the  
> padding byte of the last chunk doesn't seem to be counted towards the  
> movi size.) The only problem ffmpeg has with these files is that the  
> index isn't found, but I think that the following fix is trivial and  
> won't affect correctly muxed files.

patch looks ok

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is

More information about the ffmpeg-devel mailing list