summaryrefslogtreecommitdiffstats
path: root/media/ffvpx/libavcodec/hpeldsp.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/ffvpx/libavcodec/hpeldsp.h')
-rw-r--r--media/ffvpx/libavcodec/hpeldsp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/media/ffvpx/libavcodec/hpeldsp.h b/media/ffvpx/libavcodec/hpeldsp.h
index 1a3cea54b..768139bfc 100644
--- a/media/ffvpx/libavcodec/hpeldsp.h
+++ b/media/ffvpx/libavcodec/hpeldsp.h
@@ -76,6 +76,8 @@ typedef struct HpelDSPContext {
* @param pixels source
* @param line_size number of bytes in a horizontal line of block
* @param h height
+ * @note The size is kept at [4][4] to match the above pixel_tabs and avoid
+ * out of bounds reads in the motion estimation code.
*/
op_pixels_func put_no_rnd_pixels_tab[4][4];