mpeg12: print invalid cbp value
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 31 Dec 2012 19:33:22 +0000 (20:33 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 31 Dec 2012 19:55:02 +0000 (20:55 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mpeg12.c

index 16f9a3d..1410de5 100644 (file)
@@ -1061,7 +1061,7 @@ static int mpeg_decode_mb(MpegEncContext *s, DCTELEM block[12][64])
                  s->dsp.clear_blocks(s->block[6]);
             }
             if (cbp <= 0) {
-                av_log(s->avctx, AV_LOG_ERROR, "invalid cbp at %d %d\n", s->mb_x, s->mb_y);
+                av_log(s->avctx, AV_LOG_ERROR, "invalid cbp %d at %d %d\n", cbp, s->mb_x, s->mb_y);
                 return -1;
             }