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

Maksym Veremeyenko verem
Sat Jan 16 16:07:52 CET 2010


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...

-- 
________________________________________
Maksym Veremeyenko



More information about the ffmpeg-devel mailing list