From b8820e7aa338514ecb9891872d76a4cdf69b574e Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 8 Feb 2013 22:55:55 +0100 Subject: [PATCH] dsp: make put_no_rnd_pixels_tab 4x4 big This makes it match the other tables and fixes out of array acceses. Fixes CID980012 Signed-off-by: Michael Niedermayer --- libavcodec/dsputil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index 248446eb3a..1706af4a7d 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -292,7 +292,7 @@ typedef struct DSPContext { * @param line_size number of bytes in a horizontal line of block * @param h height */ - op_pixels_func put_no_rnd_pixels_tab[2][4]; + op_pixels_func put_no_rnd_pixels_tab[4][4]; /** * Halfpel motion compensation with no rounding (a+b)>>1.