[FFmpeg-devel] [PATCH] avi demuxer breaks on uneven chunk sizes

Michael Niedermayer michaelni
Sat Oct 4 10:45:46 CEST 2008

On Sat, Oct 04, 2008 at 09:16:59AM +0200, Arpi 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
> unfortunatelly it is in the original M$ specs :(

i know, and our demuxer should handle it as well as chunks starting just
after odd sizes. Well in theory at least ...
Thats also why i dont like the patch, it would remove support for broken
avis, though then i do not remember if these exist ...

If i had the sample that caused the problem for the patch submitter then i
could likely fix it in 5min :) (i know how but like to test it) 

PS: welcome back arpi :) .... you are posting too rarely

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- 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/d62d5251/attachment.pgp>

More information about the ffmpeg-devel mailing list