diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-08-04 00:37:52 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-08-05 17:50:23 +0200 |
commit | d555a220b461f766ad36e8abfd1324585f32495b (patch) | |
tree | 757051923b645969fe79b678947c652e2e510193 | |
parent | 005de57d843d66a892b8b05bbe5d495c98d04200 (diff) | |
download | ffmpeg-d555a220b461f766ad36e8abfd1324585f32495b.tar.gz |
avcodec/atrac9dec: Remove impossible condition
Suggested-by: Lynne <dev@lynne.ee>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavcodec/atrac9dec.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/atrac9dec.c b/libavcodec/atrac9dec.c index 2e23ea44e8..7e59af8b6d 100644 --- a/libavcodec/atrac9dec.c +++ b/libavcodec/atrac9dec.c @@ -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; |