lavc/hevcdec: drop a redundant assignment in hevc_decode_frame()

The exact same code is executed at the beginning of decode_nal_units()
This commit is contained in:
Anton Khirnov 2024-06-01 12:19:33 +02:00
parent a82f2b0924
commit e12fd62d1d
1 changed files with 0 additions and 1 deletions

View File

@ -3369,7 +3369,6 @@ static int hevc_decode_frame(AVCodecContext *avctx, AVFrame *rframe,
old, s->dovi_ctx.cfg.dv_profile);
}
s->cur_frame = s->collocated_ref = NULL;
ret = decode_nal_units(s, avpkt->data, avpkt->size);
if (ret < 0)
return ret;