[FFmpeg-devel] [PATCH] avi demuxer breaks on uneven chunk sizes
Sat Oct 4 02:07:17 CEST 2008
On Fri, Oct 03, 2008 at 10:47:20PM +0200, elupus wrote:
> 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.
please upload a sample file that needs this and tell us the filename.
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel