avcodec/mpeg4videodec: print run/level/index values
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 8 May 2014 23:29:57 +0000 (01:29 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 9 May 2014 00:03:54 +0000 (02:03 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mpeg4videodec.c

index dda139a..d24bbcd 100644 (file)
@@ -1167,6 +1167,7 @@ static inline int mpeg4_decode_block(Mpeg4DecContext *ctx, int16_t *block,
                 level = (level ^ SHOW_SBITS(re, &s->gb, 1)) - SHOW_SBITS(re, &s->gb, 1);
                 LAST_SKIP_BITS(re, &s->gb, 1);
             }
+            tprintf(s->avctx, "Block: run:%d, level:%d, index:%d EOB:%d\n", run&63, level, i&63, i>62);
             if (i > 62) {
                 i -= 192;
                 if (i & (~63)) {