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:12 +0300 |
commit | d231e84b06a9964c840cff4e228509f706165fb6 (patch) | |
tree | 0bd1fa87587cf1601faf4ef9648110442e586a1d /libavcodec/h264_mvpred.h | |
parent | d40ae0e595fe90b5583b9269f8bb000402bde5a6 (diff) |
h264: move the quantizers 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 f7c38879cd..e89e91efd6 100644 --- a/libavcodec/h264_mvpred.h +++ b/libavcodec/h264_mvpred.h @@ -794,7 +794,7 @@ static void fill_decode_caches(H264Context *h, int mb_type) /** * decodes a P_SKIP or B_SKIP macroblock */ -static void av_unused decode_mb_skip(H264Context *h) +static void av_unused decode_mb_skip(H264Context *h, H264SliceContext *sl) { const int mb_xy = h->mb_xy; int mb_type = 0; @@ -822,7 +822,7 @@ static void av_unused decode_mb_skip(H264Context *h) write_back_motion(h, mb_type); h->cur_pic.mb_type[mb_xy] = mb_type; - h->cur_pic.qscale_table[mb_xy] = h->qscale; + h->cur_pic.qscale_table[mb_xy] = sl->qscale; h->slice_table[mb_xy] = h->slice_num; h->prev_mb_skipped = 1; } |