OSDN Git Service

hpeldsp: Increase put_no_rnd_pixels_tab[][] size
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 19 Mar 2013 13:43:47 +0000 (14:43 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 19 Mar 2013 13:47:04 +0000 (14:47 +0100)
Fixes CID991852

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/hpeldsp.h

index a71a82e..57a4cc1 100644 (file)
@@ -69,7 +69,7 @@ typedef struct HpelDSPContext {
 
     /**
      * Halfpel motion compensation with no rounding (a+b)>>1.
-     * this is an array[2][4] of motion compensation functions for 2
+     * this is an array[4][4] of motion compensation functions for 2
      * horizontal blocksizes (8,16) and the 4 halfpel positions<br>
      * *pixels_tab[ 0->16xH 1->8xH ][ xhalfpel + 2*yhalfpel ]
      * @param block destination where the result is stored
@@ -77,7 +77,7 @@ typedef struct HpelDSPContext {
      * @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.