[FFmpeg-devel] [PATCH] fix ffmpeg crash on reading "non-interleved" DV type 1 AVI files

Michael Niedermayer michaelni
Fri Feb 5 11:17:07 CET 2010

On Sat, Jan 16, 2010 at 05:07:52PM +0200, Maksym Veremeyenko wrote:
> Michael Niedermayer ???????(??):
>> On Fri, Jan 15, 2010 at 11:45:31AM +0200, Maksym Veremeyenko wrote:
> [...]
>>> so if setted non_interleaved flag for DV type 1 AVI file is wrong?
>> iam not sure yet, maybe its wrong, maybe not.
> i still do not see any case that *DV type 1 AVI* file could be 
> non_interleaved. Audio and Video stored in the same DV frame and there are 
> no other tracks in AVI file allowed...
>> does follwing work for the file?
>> +    if(!ast || !st->nb_index_entries)
>> -    if(!st->nb_index_entries)
>>         continue;
>> and moving ast uses behind this
>> this would be an option if it turns out non_interleaved actually is 
>> correct,
>> one could after all create a very oddly broken avi that might need it for
>> dv.
> no
> stream always seeks to first index entry position because frame_offset not 
> been updated in a case of dv_demux works and frame_offset exists only in 
> AVIStream for first stream...

Please upload part of the file (enough to reproduce the problem you describe in
this thread)

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 2
"100% positive feedback" - "All either got their money back or didnt complain"
"Best seller ever, very honest" - "Seller refunded buyer after failed scam"
-------------- 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/20100205/6d4c6d5f/attachment.pgp>

More information about the ffmpeg-devel mailing list