[FFmpeg-devel] [PATCH] don't trust avi riff tag end
Thu Mar 19 05:39:26 CET 2009
On Wed, Mar 18, 2009 at 06:35:21PM -0700, Baptiste Coudurier wrote:
> This should fix demuxing avi generated through streaming and read
> through streaming.
> In the later case, RIFF tag end is 0, and when reading url_fsize will
> return 0.
> Like ffmpeg -i <file> -f avi - | ffmpeg -i -
> Any problem with this ?
fsize is used to detect damaged chunks, with INT64_MAX damaged chunks
are accepted and can lead to skiping of the whole file instead of searching
for the next valid chunk
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel