h264: Use the correct argument context in debug log
authorVittorio Giovara <vittorio.giovara@gmail.com>
Fri, 2 Oct 2015 10:43:41 +0000 (12:43 +0200)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Sun, 4 Oct 2015 11:07:12 +0000 (13:07 +0200)
libavcodec/h264_cabac.c

index f4e451d..2b847ed 100644 (file)
@@ -2072,7 +2072,7 @@ decode_intra_mb:
                     sl->intra4x4_pred_mode_cache[scan8[i]] = decode_cabac_mb_intra4x4_pred_mode(sl, pred);
 
                     ff_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);