1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

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.
This commit is contained in:
Anton Khirnov 2024-06-25 16:53:30 +02:00
parent fd69700e51
commit 5295650655

View File

@ -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