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

Michael Niedermayer michaelni
Fri Jan 15 23:08:26 CET 2010


On Fri, Jan 15, 2010 at 12:05:13PM +0200, Maksym Veremeyenko wrote:
> Michael Niedermayer ???????(??):
> [...]
>> failing that, a single stream cant be non_interleaved whatever sets it
>> is likely wrong
>
> in my case flag non_interleaved been set in the read_braindead_odml_indx 
> function call in libavcodec/avidec.c:
> [...]
>  144: static int read_braindead_odml_indx(AVFormatContext *s, int 
> frame_num){
> [...]
>  171:             if(last_pos == pos || pos == base - 8)
>  172:                 avi->non_interleaved= 1;
>                       ^^^^^^^^^^^^^^^^^^^^^^^^

hmm
is commenting out the pos == base - 8 fixing it?

also what is the output of ffmpeg -v 9 -loglevel 99 -i yourfile.avi
?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I wish the Xiph folks would stop pretending they've got something they
do not.  Somehow I fear this will remain a wish. -- M?ns Rullg?rd
-------------- 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/20100115/0ee26abf/attachment.pgp>



More information about the ffmpeg-devel mailing list