mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
ra288: assert order to be withinn supported range in do_hybrid_window()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
db3a0aae9f
commit
f5581266f7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user