changeset 3383:2e9f19e0493b libavformat

Tell the user if a AVI is non interleaved.
author michael
date Wed, 28 May 2008 00:07:41 +0000
parents 45da68497603
children b1d2c80f2ded
files avidec.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/avidec.c	Tue May 27 22:37:54 2008 +0000
+++ b/avidec.c	Wed May 28 00:07:41 2008 +0000
@@ -605,8 +605,10 @@
         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;
 }