Reduce the verbosity of a mpeg1/2 invalid intra-matrix warning.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 11 Feb 2012 23:18:32 +0000 (00:18 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 11 Feb 2012 23:20:56 +0000 (00:20 +0100)
Fixes ticket #973.

libavcodec/mpeg12.c

index 5e325cf..28c17e6 100644 (file)
@@ -1497,7 +1497,7 @@ static int load_matrix(MpegEncContext *s, uint16_t matrix0[64], uint16_t matrix1
             return -1;
         }
         if (intra && i == 0 && v != 8) {
-            av_log(s->avctx, AV_LOG_ERROR, "intra matrix specifies invalid DC quantizer %d, ignoring\n", v);
+            av_log(s->avctx, AV_LOG_DEBUG, "intra matrix specifies invalid DC quantizer %d, ignoring\n", v);
             v = 8; // needed by pink.mpg / issue1046
         }
         matrix0[j] = v;