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:
db3a0aa
)
ra288: assert order to be withinn supported range in do_hybrid_window()
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 15 Oct 2012 21:51:38 +0000
(23:51 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 15 Oct 2012 21:55:54 +0000
(23:55 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/ra288.c
patch
|
blob
|
history
diff --git
a/libavcodec/ra288.c
b/libavcodec/ra288.c
index
a8e9eab
..
28606e8
100644
(file)
--- a/
libavcodec/ra288.c
+++ b/
libavcodec/ra288.c
@@
-137,6
+137,8
@@
static void do_hybrid_window(RA288Context *ractx,
MAX_BACKWARD_FILTER_LEN +
MAX_BACKWARD_FILTER_NONREC, 16)]);
+ av_assert2(order>=0);
+
ractx->fdsp.vector_fmul(work, window, hist, FFALIGN(order + n + non_rec, 16));
convolve(buffer1, work + order , n , order);