From f5581266f767eba562d12f0466c21fb474bc1114 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 15 Oct 2012 23:51:38 +0200 Subject: [PATCH] ra288: assert order to be withinn supported range in do_hybrid_window() Signed-off-by: Michael Niedermayer --- libavcodec/ra288.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/ra288.c b/libavcodec/ra288.c index a8e9eabb3b..28606e8628 100644 --- 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);