[FFmpeg-cvslog] lavc/hevcdec: drop a redundant assignment in hevc_decode_frame()
Anton Khirnov
git at videolan.org
Tue Jun 11 18:50:29 EEST 2024
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sat Jun 1 12:19:33 2024 +0200| [e12fd62d1dd4a8f129f33015e22e270e871fc4ce] | committer: Anton Khirnov
lavc/hevcdec: drop a redundant assignment in hevc_decode_frame()
The exact same code is executed at the beginning of decode_nal_units()
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e12fd62d1dd4a8f129f33015e22e270e871fc4ce
---
libavcodec/hevc/hevcdec.c | 1 -
1 file changed, 1 deletion(-)
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;
More information about the ffmpeg-cvslog
mailing list