[FFmpeg-devel] [PATCH] avi demuxer breaks on uneven chunk sizes
Fri Oct 3 22:47:20 CEST 2008
Currently the avi demuxer uses the chunk size as given by the stream to
look for the next chunk. However some muxers (transcode 0.6.9), write
uneven chunk sizes.
I'm not sure if this is actually valid by the specification, but in either
case the new chunk size should start at a multiple of two bytes from the
last. So this patch skips one byte before attempting to read next chunk.
Normally the resync code should take care of the issue, but if you are
unlucky, it syncs to something invalid, and the output is garbled.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 441 bytes
Desc: Attached file: unevensize.patch
More information about the ffmpeg-devel