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.
release/7.1
Anton Khirnov 7 months ago
parent fd69700e51
commit 5295650655
  1. 4
      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.content_light = s0->sei.common.content_light;
s->sei.common.aom_film_grain = s0->sei.common.aom_film_grain; 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; return 0;
} }
#endif #endif

Loading…
Cancel
Save