diff h263.c @ 6893:72dafc993490 libavcodec

Warn about packed B-frames. (especially useful if the file in question is not an avi ...)
author michael
date Mon, 26 May 2008 11:32:42 +0000
parents 22cca5d3173a
children 25dcd46b8160
line wrap: on
line diff
--- a/h263.c	Mon May 26 02:00:18 2008 +0000
+++ b/h263.c	Mon May 26 11:32:42 2008 +0000
@@ -5751,6 +5751,8 @@
         s->divx_version= ver;
         s->divx_build= build;
         s->divx_packed= e==3 && last=='p';
+        if(s->divx_packed)
+            av_log(s->avctx, AV_LOG_WARNING, "Invalid and inefficient vfw-avi packed B frames detected\n");
     }
 
     /* ffmpeg detection */