[FFmpeg-cvslog] lavc/hevcdec: do not call export_stream_params_from_sei() in update_thread_context()
Anton Khirnov
git at videolan.org
Tue Jul 2 11:01:00 EEST 2024
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Jun 25 16:53:30 2024 +0200| [5295650655ec13efe260a27d7f27572a4f0ab07e] | committer: Anton Khirnov
lavc/hevcdec: do not call export_stream_params_from_sei() in update_thread_context()
It is redundant, since it only sets AVCodecContext fields that are
already copied by the generic code.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5295650655ec13efe260a27d7f27572a4f0ab07e
---
libavcodec/hevc/hevcdec.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/libavcodec/hevc/hevcdec.c b/libavcodec/hevc/hevcdec.c
index e80f2f28c7..4a62170073 100644
--- a/libavcodec/hevc/hevcdec.c
+++ b/libavcodec/hevc/hevcdec.c
@@ -3637,10 +3637,6 @@ static int hevc_update_thread_context(AVCodecContext *dst,
s->sei.common.content_light = s0->sei.common.content_light;
s->sei.common.aom_film_grain = s0->sei.common.aom_film_grain;
- ret = export_stream_params_from_sei(s);
- if (ret < 0)
- return ret;
-
return 0;
}
#endif
More information about the ffmpeg-cvslog
mailing list