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

Arpi arpi
Sat Oct 4 09:16:59 CEST 2008


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 :(
it's handled by mplayer's demux_avi.c from teh first minute:

  skip=(len+1)&(~1); // total bytes in this chunk                               

(len = chunk size, skip = bytes to skip for next chunk)

A'rpi




More information about the ffmpeg-devel mailing list