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

Guillaume Poirier gpoirier
Thu Aug 31 11:44:16 CEST 2006


Hi,
Michael Niedermayer wrote:
> Hi
> 
> 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

Compiles and passes regression tests,
Applied

Guillaume




More information about the ffmpeg-devel mailing list