From 7fc10e273b8d26cd80c903eccdf27289328c9727 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sun, 6 Feb 2022 13:34:48 +0100 Subject: [PATCH] avcodec/hapdec: Remove always-false check Reviewed-by: Anton Khirnov Signed-off-by: Andreas Rheinhardt --- libavcodec/hapdec.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavcodec/hapdec.c b/libavcodec/hapdec.c index 2c8c5c36ba..45c44ad78d 100644 --- a/libavcodec/hapdec.c +++ b/libavcodec/hapdec.c @@ -352,9 +352,6 @@ static int hap_decode(AVCodecContext *avctx, void *data, start_texture_section += ctx->texture_section_size + 4; - if (avctx->codec->update_thread_context) - ff_thread_finish_setup(avctx); - /* Unpack the DXT texture */ if (hap_can_use_tex_in_place(ctx)) { int tex_size;