avcodec/wavpack: Remove always-false check

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
release/7.1
Andreas Rheinhardt 10 months ago
parent aecd63478e
commit d307aca184
  1. 5
      libavcodec/wavpack.c

@ -1095,11 +1095,6 @@ static int wavpack_decode_block(AVCodecContext *avctx, int block_no,
}
s = wc->fdec[block_no];
if (!s) {
av_log(avctx, AV_LOG_ERROR, "Context for block %d is not present\n",
block_no);
return AVERROR_INVALIDDATA;
}
memset(s->decorr, 0, MAX_TERMS * sizeof(Decorr));
memset(s->ch, 0, sizeof(s->ch));

Loading…
Cancel
Save