Commit 9d4cd3bf authored by Michael Niedermayer's avatar Michael Niedermayer

Tell the user if a AVI is non interleaved.

Originally committed as revision 13482 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 540c5220
...@@ -605,8 +605,10 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap) ...@@ -605,8 +605,10 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
avi_load_index(s); avi_load_index(s);
avi->index_loaded = 1; avi->index_loaded = 1;
avi->non_interleaved |= guess_ni_flag(s); avi->non_interleaved |= guess_ni_flag(s);
if(avi->non_interleaved) if(avi->non_interleaved) {
av_log(s, AV_LOG_INFO, "Non interleaved AVI\n");
clean_index(s); clean_index(s);
}
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment