avcodec/h264_cabac: Fix intra4x4_pred_mode_cache argument to av_dlog()
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 21 Mar 2015 12:46:32 +0000 (13:46 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 21 Mar 2015 12:46:32 +0000 (13:46 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h264_cabac.c

index b608fee..8b0bf1c 100644 (file)
@@ -2058,7 +2058,7 @@ decode_intra_mb:
                     sl->intra4x4_pred_mode_cache[scan8[i]] = decode_cabac_mb_intra4x4_pred_mode(h, pred);
 
                     av_dlog(h->avctx, "i4x4 pred=%d mode=%d\n", pred,
-                            h->intra4x4_pred_mode_cache[scan8[i]]);
+                            sl->intra4x4_pred_mode_cache[scan8[i]]);
                 }
             }
             write_back_intra_pred_mode(h, sl);