[FFmpeg-devel] [PATCH] mpeg4videodec: silence "Invalid and inefficient vfw-avi packed B frames detected" warning

wm4 nfxjfg at googlemail.com
Thu Aug 29 00:29:42 CEST 2013


---
I mentioned it on IRC, and it wasn't really clear why this message is
needed. On the other hand, this is printed with virtually every AVI
file, and raises more questions than it answers, so I guess this is up
to discussion.
---
 libavcodec/mpeg4videodec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c
index 9ff7574..c8a7d00 100644
--- a/libavcodec/mpeg4videodec.c
+++ b/libavcodec/mpeg4videodec.c
@@ -1912,7 +1912,7 @@ static int decode_user_data(MpegEncContext *s, GetBitContext *gb){
         s->divx_build= build;
         s->divx_packed= e==3 && last=='p';
         if(s->divx_packed && !s->showed_packed_warning) {
-            av_log(s->avctx, AV_LOG_WARNING, "Invalid and inefficient vfw-avi packed B frames detected\n");
+            av_log(s->avctx, AV_LOG_VERBOSE, "Invalid and inefficient vfw-avi packed B frames detected\n");
             s->showed_packed_warning=1;
         }
     }
-- 
1.8.4.rc3



More information about the ffmpeg-devel mailing list