diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-04-13 17:33:59 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-04-24 10:06:25 +0200 |
commit | 2e5bde956519ae19cedfa482e199518e495bcaf5 (patch) | |
tree | 9743e47edd058c748fea90ada35ca267ba81e6e7 /libavcodec/h264_slice.c | |
parent | e3c9041cfe2e6526802255583d27abf9a921863e (diff) | |
download | ffmpeg-2e5bde956519ae19cedfa482e199518e495bcaf5.tar.gz |
h264: eliminate max_contexts
It is always equal to nb_slice_ctx.
Diffstat (limited to 'libavcodec/h264_slice.c')
-rw-r--r-- | libavcodec/h264_slice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c index e0e3577223..9eb493ed69 100644 --- a/libavcodec/h264_slice.c +++ b/libavcodec/h264_slice.c @@ -1462,7 +1462,7 @@ int ff_h264_decode_slice_header(H264Context *h, H264SliceContext *sl) h->nal_ref_idc == 0)) sl->deblocking_filter = 0; - if (sl->deblocking_filter == 1 && h->max_contexts > 1) { + if (sl->deblocking_filter == 1 && h->nb_slice_ctx > 1) { if (h->avctx->flags2 & AV_CODEC_FLAG2_FAST) { /* Cheat slightly for speed: * Do not bother to deblock across slices. */ |