summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg12.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-02-06 17:30:29 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-02-09 19:03:32 +0100
commit491d8353e8aab444bfe25cf4867f4da666d16c47 (patch)
tree231ac300f1fbba2076ef086ac8cef9ec97686e03 /libavcodec/mpeg12.c
parent8a07429318acfbf497981a0ba1f68e2966ce3fdf (diff)
mpeg12dec: print the value that is being ignored in load_matrix()
error message by Reimar Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r--libavcodec/mpeg12.c2
1 files changed, 1 insertions, 1 deletions
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;