avcodec/hapdec: Remove always-false check

Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2022-02-06 13:34:48 +01:00
parent 7bf38eb000
commit 7fc10e273b
1 changed files with 0 additions and 3 deletions

View File

@ -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;