[FFmpeg-devel] AVI DV patch

Michael Niedermayer michaelni
Fri Feb 29 12:42:59 CET 2008

On Fri, Feb 29, 2008 at 07:40:00AM +0400, Dmitry Vassiliev wrote:
> Hi all
> Some AVI DV files cause crash in av_find_stream_info().
> avi_read_packet() tries to read a huge packet (the "size" variable is too big)
> Probably checking (size < 0x01000000) may be helpful too.
> AVI DV files created by SCLive may contain the following:
> LIST....INFOTAPE....sclive.?TCOD....2155200000.?TCDO....7878800000.?
> VMAJ....VMIN....CMNT....RATE....STAT....0 0 3500.000000....DTIM....29902976 756927104.?JUNK....
> Note: the size followed by TAPE is 7, but the real offset of TCOD is 8.

We need a sample file, none of the CDVC files on mphq need such junk skiping.


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Frequently ignored awnser#1 FFmpeg bugs should be sent to our bugtracker. User
questions about the command line tools should be sent to the ffmpeg-user ML.
And questions about how to use libav* should be sent to the libav-user ML.
-------------- 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/20080229/4fbed646/attachment.pgp>

More information about the ffmpeg-devel mailing list