From 5355ed6b20e941430c4f8fb82644e87a65366d61 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 17 Jan 2015 22:28:46 +0100 Subject: h264: move {prev,next}_mb_skipped into the per-slice context --- libavcodec/h264_cavlc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/h264_cavlc.c') 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){ -- cgit v1.2.3