mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
h264: eliminate max_contexts
It is always equal to nb_slice_ctx.
This commit is contained in:
parent
e3c9041cfe
commit
2e5bde9565
3 changed files with 2 additions and 11 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue