diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-15 23:51:38 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-15 23:55:54 +0200 |
commit | f5581266f767eba562d12f0466c21fb474bc1114 (patch) | |
tree | e22a04ea4d3364de8bccf39ae51a1d90b6276063 /libavcodec/ra288.c | |
parent | db3a0aae9fdc2249b5408076d89f5fef52d61abb (diff) | |
download | ffmpeg-f5581266f767eba562d12f0466c21fb474bc1114.tar.gz |
ra288: assert order to be withinn supported range in do_hybrid_window()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/ra288.c')
-rw-r--r-- | libavcodec/ra288.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |