changeset 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 ef70c05f77e8
children eb3c16b99f27
files h263.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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 */