diff options
-rw-r--r-- | libavcodec/alsdec.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c index 13bd52f297..9a72686413 100644 --- a/libavcodec/alsdec.c +++ b/libavcodec/alsdec.c @@ -704,11 +704,6 @@ static int read_var_block_data(ALSDecContext *ctx, ALSBlockData *bd) } else { *bd->opt_order = sconf->max_order; } - if (*bd->opt_order > bd->block_length) { - *bd->opt_order = bd->block_length; - av_log(avctx, AV_LOG_ERROR, "Predictor order too large.\n"); - return AVERROR_INVALIDDATA; - } opt_order = *bd->opt_order; if (opt_order) { |