diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-06-25 16:53:30 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-07-02 09:55:39 +0200 |
commit | 5295650655ec13efe260a27d7f27572a4f0ab07e (patch) | |
tree | 1892ed6a106a7cb278dd6dfe417a70552894a6a6 | |
parent | fd69700e5150d13deabdc3f17ce76032b05fb118 (diff) | |
download | ffmpeg-5295650655ec13efe260a27d7f27572a4f0ab07e.tar.gz |
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.
-rw-r--r-- | libavcodec/hevc/hevcdec.c | 4 |
1 files changed, 0 insertions, 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 |