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:14 +0300 |
commit | 0edbe6faa7ef80daf0e84353cbe733389bf1a522 (patch) | |
tree | 95ebe3620f648479a9baf11d15b43a34c6800f23 /libavcodec/h264_mvpred.h | |
parent | 07c5ca551b7327d3c4e33738cc0cd2d5ac2779fa (diff) |
h264: move mb_xy into the per-slice context
Diffstat (limited to 'libavcodec/h264_mvpred.h')
-rw-r--r-- | libavcodec/h264_mvpred.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264_mvpred.h b/libavcodec/h264_mvpred.h index e81c6e9d34..ca6323726f 100644 --- a/libavcodec/h264_mvpred.h +++ b/libavcodec/h264_mvpred.h @@ -355,7 +355,7 @@ zeromv: static void fill_decode_neighbors(H264Context *h, H264SliceContext *sl, int mb_type) { - const int mb_xy = h->mb_xy; + const int mb_xy = sl->mb_xy; int topleft_xy, top_xy, topright_xy, left_xy[LEFT_MBS]; static const uint8_t left_block_options[4][32] = { { 0, 1, 2, 3, 7, 10, 8, 11, 3 + 0 * 4, 3 + 1 * 4, 3 + 2 * 4, 3 + 3 * 4, 1 + 4 * 4, 1 + 8 * 4, 1 + 5 * 4, 1 + 9 * 4 }, @@ -802,7 +802,7 @@ static void fill_decode_caches(H264Context *h, H264SliceContext *sl, int mb_type */ static void av_unused decode_mb_skip(H264Context *h, H264SliceContext *sl) { - const int mb_xy = h->mb_xy; + const int mb_xy = sl->mb_xy; int mb_type = 0; memset(h->non_zero_count[mb_xy], 0, 48); |