Commit f5581266 authored by Michael Niedermayer's avatar Michael Niedermayer

ra288: assert order to be withinn supported range in do_hybrid_window()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent db3a0aae
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment