summaryrefslogtreecommitdiff
path: root/libavcodec/h264_cavlc.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-01-17 22:28:46 +0100
committerAnton Khirnov <anton@khirnov.net>2015-03-21 11:27:12 +0100
commit5355ed6b20e941430c4f8fb82644e87a65366d61 (patch)
tree7ff64ca4f9c5a91c4a0b85290a7444c4b12d733e /libavcodec/h264_cavlc.c
parent06789ad3b71296a9e2fbd0278632d97a5d9af8d7 (diff)
h264: move {prev,next}_mb_skipped into the per-slice context
Diffstat (limited to 'libavcodec/h264_cavlc.c')
-rw-r--r--libavcodec/h264_cavlc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_cavlc.c b/libavcodec/h264_cavlc.c
index 0c517f104c..accb67bc16 100644
--- a/libavcodec/h264_cavlc.c
+++ b/libavcodec/h264_cavlc.c
@@ -721,7 +721,7 @@ int ff_h264_decode_mb_cavlc(H264Context *h, H264SliceContext *sl)
h->mb_mbaff = h->mb_field_decoding_flag = get_bits1(&h->gb);
}
- h->prev_mb_skipped= 0;
+ sl->prev_mb_skipped = 0;
mb_type= get_ue_golomb(&h->gb);
if(h->slice_type_nos == AV_PICTURE_TYPE_B){