summaryrefslogtreecommitdiff
path: root/libavcodec/h264_cabac.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/h264_cabac.c')
-rw-r--r--libavcodec/h264_cabac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_cabac.c b/libavcodec/h264_cabac.c
index 1375e9e4f7..9eceedbd7c 100644
--- a/libavcodec/h264_cabac.c
+++ b/libavcodec/h264_cabac.c
@@ -740,7 +740,7 @@ static int decode_cabac_intra_mb_type(H264Context *h, int ctx_base, int intra_sl
return 0; /* I4x4 */
state += 2;
}else{
- if( get_cabac_noinline( &h->cabac, &state[0] ) == 0 )
+ if( get_cabac_noinline( &h->cabac, state ) == 0 )
return 0; /* I4x4 */
}