aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-05-28 00:07:41 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-05-28 00:07:41 +0000
commit9d4cd3bfd5364ce6eeb77be9e9f5bcdbb9678772 (patch)
treec031d30a4feac06c01b9d07ddef7ffefe9f97485 /libavformat
parent540c5220ffafce9038b1f0c96cb02382d0ab126e (diff)
downloadffmpeg-9d4cd3bfd5364ce6eeb77be9e9f5bcdbb9678772.tar.gz
Tell the user if a AVI is non interleaved.
Originally committed as revision 13482 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/avidec.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index 96b411b869..a84acf8e28 100644
--- a/libavformat/avidec.c
+++ b/libavformat/avidec.c
@@ -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;
}