avcodec/hapdec: Remove always-false check

Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
release/5.1
Andreas Rheinhardt 3 years ago
parent 7bf38eb000
commit 7fc10e273b
  1. 3
      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;

Loading…
Cancel
Save