diff options
author | Umair Khan <omerjerk@gmail.com> | 2017-11-13 11:06:30 +0530 |
---|---|---|
committer | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2017-11-16 23:36:14 +0100 |
commit | e510a8251b3fc385dfe2f0482ece5643c7d66f06 (patch) | |
tree | d8a6a5bb6334d5f064013dbe4f2beb17ec405cf9 | |
parent | a6fdd75fe6440d2f4150cb456a9078aa68b00fdb (diff) | |
download | ffmpeg-e510a8251b3fc385dfe2f0482ece5643c7d66f06.tar.gz |
libavcodec/als: remove check for predictor order of a block
Reverts commit 18f94df8, fixes ticket #5297.
Signed-off-by: Umair Khan <omerjerk@gmail.com>
-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) { |