From 491d8353e8aab444bfe25cf4867f4da666d16c47 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 6 Feb 2012 17:30:29 +0100 Subject: [PATCH] mpeg12dec: print the value that is being ignored in load_matrix() error message by Reimar Signed-off-by: Michael Niedermayer --- libavcodec/mpeg12.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index 1dae17ff94..c671fcf4f8 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -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;