From ed451a08a46b2b07fd2dba3e55ffddd18ae6e3d6 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 17 Jan 2015 22:28:46 +0100 Subject: h264: move sub_mb_type into the per-slice context --- libavcodec/h264_mb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/h264_mb.c') diff --git a/libavcodec/h264_mb.c b/libavcodec/h264_mb.c index 9657b5ce53..8d811a0028 100644 --- a/libavcodec/h264_mb.c +++ b/libavcodec/h264_mb.c @@ -123,7 +123,7 @@ static void await_references(H264Context *h, H264SliceContext *sl) assert(IS_8X8(mb_type)); for (i = 0; i < 4; i++) { - const int sub_mb_type = h->sub_mb_type[i]; + const int sub_mb_type = sl->sub_mb_type[i]; const int n = 4 * i; int y_offset = (i & 2) << 2; -- cgit v1.2.3