[Ffmpeg-cvslog] r8014 - trunk/libavformat/flic.c

alex subversion
Sun Feb 18 01:47:13 CET 2007


Author: alex
Date: Sun Feb 18 01:47:13 2007
New Revision: 8014

Modified:
   trunk/libavformat/flic.c

Log:
spit an error message in case of invalid chunk

Modified: trunk/libavformat/flic.c
==============================================================================
--- trunk/libavformat/flic.c	(original)
+++ trunk/libavformat/flic.c	Sun Feb 18 01:47:13 2007
@@ -146,8 +146,10 @@
          *  therefore, the frame pts increment = n * 90
          */
         flic->frame_pts_inc = speed * 90;
-    } else
+    } else {
+        av_log(s, AV_LOG_INFO, "Invalid or unsupported magic chunk in file\n");
         return AVERROR_INVALIDDATA;
+    }
 
     if (flic->frame_pts_inc == 0)
         flic->frame_pts_inc = FLIC_DEFAULT_PTS_INC;




More information about the ffmpeg-cvslog mailing list