[FFmpeg-cvslog] dsp: make put_no_rnd_pixels_tab 4x4 big
Michael Niedermayer
git at videolan.org
Fri Feb 8 23:52:09 CET 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Feb 8 22:55:55 2013 +0100| [b8820e7aa338514ecb9891872d76a4cdf69b574e] | committer: Michael Niedermayer
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 <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b8820e7aa338514ecb9891872d76a4cdf69b574e
---
libavcodec/dsputil.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h
index 248446e..1706af4 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.
More information about the ffmpeg-cvslog
mailing list