libavcodec/als: remove check for predictor order of a block
Reverts commit 18f94df8, fixes ticket #5297.
Signed-off-by: Umair Khan <omerjerk@gmail.com>
This commit is contained in:
parent
a6fdd75fe6
commit
e510a8251b
1 changed files with 0 additions and 5 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue