mpeg12dec: print the value that is being ignored in load_matrix()
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 6 Feb 2012 16:30:29 +0000 (17:30 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 9 Feb 2012 18:03:32 +0000 (19:03 +0100)
error message by Reimar

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mpeg12.c

index 1dae17f..c671fcf 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 invalid, ignoring\n");
+            av_log(s->avctx, AV_LOG_ERROR, "intra matrix specifies invalid DC quantizer %d, ignoring", v);
             v = 8; // needed by pink.mpg / issue1046
         }
         matrix0[j] = v;