avcodec/atrac9dec: Remove impossible condition

Suggested-by: Lynne <dev@lynne.ee>

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2019-08-04 00:37:52 +02:00
parent 005de57d84
commit d555a220b4
1 changed files with 0 additions and 3 deletions

View File

@ -124,9 +124,6 @@ static inline int parse_gradient(ATRAC9Context *s, ATRAC9BlockData *b,
if (grad_range[0] >= grad_range[1] || grad_range[1] > 47)
return AVERROR_INVALIDDATA;
if (grad_value[0] > 31 || grad_value[1] > 31)
return AVERROR_INVALIDDATA;
if (b->grad_boundary > b->q_unit_cnt)
return AVERROR_INVALIDDATA;