diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-06-01 12:19:33 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-06-11 17:39:34 +0200 |
commit | e12fd62d1dd4a8f129f33015e22e270e871fc4ce (patch) | |
tree | f2a02e1eac49bef6147fbb65f917f1d791039091 | |
parent | a82f2b092430db8284bf91147f718d09f3ee592c (diff) | |
download | ffmpeg-e12fd62d1dd4a8f129f33015e22e270e871fc4ce.tar.gz |
lavc/hevcdec: drop a redundant assignment in hevc_decode_frame()
The exact same code is executed at the beginning of decode_nal_units()
-rw-r--r-- | libavcodec/hevc/hevcdec.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/hevc/hevcdec.c b/libavcodec/hevc/hevcdec.c index 43cbc45062..46db7923fe 100644 --- a/libavcodec/hevc/hevcdec.c +++ b/libavcodec/hevc/hevcdec.c @@ -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; |