git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
005de57
)
avcodec/atrac9dec: Remove impossible condition
author
Michael Niedermayer
<michael@niedermayer.cc>
Sat, 3 Aug 2019 22:37:52 +0000
(
00:37
+0200)
committer
Michael Niedermayer
<michael@niedermayer.cc>
Mon, 5 Aug 2019 15:50:23 +0000
(17:50 +0200)
Suggested-by: Lynne <dev@lynne.ee>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/atrac9dec.c
patch
|
blob
|
history
diff --git
a/libavcodec/atrac9dec.c
b/libavcodec/atrac9dec.c
index
2e23ea4
..
7e59af8
100644
(file)
--- 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;