[FFmpeg-devel] [PATCH 2/6] avcodec/hapdec: Remove always-false check

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Mon Feb 7 02:58:04 EET 2022


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 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;
-- 
2.32.0



More information about the ffmpeg-devel mailing list