[Ffmpeg-devel] [PATCH] reduce verbosity of wmv2.c

Diego Biurrun diego
Wed Jul 27 03:17:03 CEST 2005


Hi,

the following patch removes console messages like

[wmv2 @ 0x1050f04c]I7:0/
[wmv2 @ 0x1050f04c]I7:A/
[wmv2 @ 0x1050f04c]I7:A/
[wmv2 @ 0x1050f04c]I7:0/
[wmv2 @ 0x1050f04c]I7:0/

from movies like

http://mplayerhq.hu/~diego/funny/Mastercard.asf

which plays without any artifacts at all, thus this error looks more
like a debug message to me.

OK to apply?

Diego


--- libavcodec/wmv2.c   8 May 2005 13:04:46 -0000       1.33
+++ libavcodec/wmv2.c   27 Jul 2005 01:14:08 -0000
@@ -369,7 +369,7 @@
     s->pict_type = get_bits(&s->gb, 1) + 1;
     if(s->pict_type == I_TYPE){
         code = get_bits(&s->gb, 7);
-        av_log(s->avctx, AV_LOG_ERROR, "I7:%X/\n", code);
+        av_log(s->avctx, AV_LOG_DEBUG, "I7:%X/\n", code);
     }
     s->chroma_qscale= s->qscale = get_bits(&s->gb, 5);
     if(s->qscale < 0)





More information about the ffmpeg-devel mailing list