diff mbox series

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

Message ID AM7PR03MB666060D03A58ABD5FDEF6C008F2C9@AM7PR03MB6660.eurprd03.prod.outlook.com
State Accepted
Commit 7fc10e273b8d26cd80c903eccdf27289328c9727
Headers show
Series [FFmpeg-devel,1/6] avcodec/pthread_frame: Don't prematurily presume frame-threading | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/make_ppc success Make finished
andriy/make_fate_ppc success Make fate finished

Commit Message

Andreas Rheinhardt Feb. 7, 2022, 12:58 a.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/hapdec.c | 3 ---
 1 file changed, 3 deletions(-)
diff mbox series

Patch

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;