[FFmpeg-devel] [PATCH] avi demuxer breaks on uneven chunk sizes
Michael Niedermayer
michaelni
Sat Oct 4 02:07:17 CEST 2008
On Fri, Oct 03, 2008 at 10:47:20PM +0200, elupus wrote:
> Hi,
>
> 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
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081004/e32505be/attachment.pgp>
More information about the ffmpeg-devel
mailing list