Browse Source

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

error message by Reimar

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.11
Michael Niedermayer 14 years ago
parent
commit
491d8353e8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/mpeg12.c

+ 1
- 1
libavcodec/mpeg12.c View 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;


Loading…
Cancel
Save