OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
464c4b8
)
avcodec/ra144: Fix runtime error: left shift of negative value -798
author
Michael Niedermayer
<michael@niedermayer.cc>
Sun, 7 May 2017 12:16:33 +0000
(14:16 +0200)
committer
Michael Niedermayer
<michael@niedermayer.cc>
Sun, 7 May 2017 13:31:00 +0000
(15:31 +0200)
Fixes: 1388/clusterfuzz-testcase-minimized-
6680800936329216
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/ra144.c
patch
|
blob
|
history
diff --git
a/libavcodec/ra144.c
b/libavcodec/ra144.c
index
ceec32d
..
690f7ff
100644
(file)
--- a/
libavcodec/ra144.c
+++ b/
libavcodec/ra144.c
@@
-1598,7
+1598,7
@@
void ff_eval_coefs(int *coefs, const int *refl)
int i, j;
for (i=0; i < LPC_ORDER; i++) {
- b1[i] = refl[i]
<< 4
;
+ b1[i] = refl[i]
* 16
;
for (j=0; j < i; j++)
b1[j] = ((refl[i] * b2[i-j-1]) >> 12) + b2[j];