Commit 491d8353 authored by Michael Niedermayer's avatar Michael Niedermayer

mpeg12dec: print the value that is being ignored in load_matrix()

error message by Reimar
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 8a074293
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment