Tell the user if a AVI is non interleaved.

Originally committed as revision 13482 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2008-05-28 00:07:41 +00:00
parent 540c5220ff
commit 9d4cd3bfd5
1 changed files with 3 additions and 1 deletions

View File

@ -605,8 +605,10 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
avi_load_index(s);
avi->index_loaded = 1;
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);
}
return 0;
}