summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-02-06 13:34:48 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-02-09 17:22:05 +0100
commit7fc10e273b8d26cd80c903eccdf27289328c9727 (patch)
treecf99b2f5f241df949d3e0ab3eb749de8c9c45302 /libavcodec
parent7bf38eb0004bea2613cf4a9a00847755d27f5240 (diff)
avcodec/hapdec: Remove always-false check
Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/hapdec.c3
1 files changed, 0 insertions, 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;