1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avcodec/cbs_av1: remove dead code

The other branch already covers cases where enable_order_hint is true
and frame is of type Inter.
Regression since ddb0e4fecd

Fixes Coverity issues #1469194 and #1469195.

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2020-11-12 15:20:38 -03:00
parent c7e775f712
commit 0cccb5fb14

View File

@ -1500,9 +1500,6 @@ static int FUNC(uncompressed_header)(CodedBitstreamContext *ctx, RWContext *rw,
priv->ref[i].valid = 0;
}
}
} else if (!frame_is_intra && seq->enable_order_hint) {
for (i = 0; i < AV1_NUM_REF_FRAMES; i++)
infer(ref_order_hint[i], priv->ref[i].order_hint);
}
if (current->frame_type == AV1_FRAME_KEY ||