diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-03-24 16:43:42 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-04-04 23:58:57 +0200 |
commit | d307aca184a15be78236889c226f2699f40a1948 (patch) | |
tree | 9f75d036c3432df6119ab569d6ed101dad02ab4c | |
parent | aecd63478e32b17a7896510b50165283c75d6ead (diff) |
avcodec/wavpack: Remove always-false check
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r-- | libavcodec/wavpack.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/wavpack.c b/libavcodec/wavpack.c index c96c8e0583..73d69d66ff 100644 --- a/libavcodec/wavpack.c +++ b/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)); |