From b0c91c2fba82f98dfe7a70f2591ec7a2126820c0 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sat, 27 Sep 2025 02:15:27 +0200 Subject: [PATCH] avcodec/h264qpel: Make avg_h264_qpel_pixels_tab smaller avg_h264_qpel only supports 16x16,8x8 and 4x4 blocksizes, so it is currently unnecessarily large. Reviewed-by: James Almer Signed-off-by: Andreas Rheinhardt --- libavcodec/h264qpel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/h264qpel.h b/libavcodec/h264qpel.h index 24baf826f9..6ae5ba1724 100644 --- a/libavcodec/h264qpel.h +++ b/libavcodec/h264qpel.h @@ -26,7 +26,7 @@ typedef struct H264QpelContext { qpel_mc_func put_h264_qpel_pixels_tab[4][16]; - qpel_mc_func avg_h264_qpel_pixels_tab[4][16]; + qpel_mc_func avg_h264_qpel_pixels_tab[3][16]; } H264QpelContext; void ff_h264qpel_init(H264QpelContext *c, int bit_depth);