diff options
author | Anton Khirnov <anton@khirnov.net> | 2015-01-18 00:28:46 +0300 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-03-21 13:27:13 +0300 |
commit | ed451a08a46b2b07fd2dba3e55ffddd18ae6e3d6 (patch) | |
tree | 151e633149b373656c8119b058efb6d6083f3386 /libavcodec/h264_mb.c | |
parent | 56febc993b928ccc039a32158ca60b234c311875 (diff) |
h264: move sub_mb_type into the per-slice context
Diffstat (limited to 'libavcodec/h264_mb.c')
-rw-r--r-- | libavcodec/h264_mb.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |