diff mbox series

[FFmpeg-devel,v2,06/14] avcodec/hevc: ff_hevc_(qpel/epel)_filters are signed type

Message ID tencent_6E1F207F4DC7CFF9D50C277338E796324D07@qq.com
State New
Headers show
Series aarch64/vvc: Add SIMD | expand

Commit Message

Zhao Zhili Sept. 11, 2024, 6:06 p.m. UTC
From: Zhao Zhili <zhilizhao@tencent.com>

---
 libavcodec/hevc/dsp_template.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/libavcodec/hevc/dsp_template.c b/libavcodec/hevc/dsp_template.c
index aebccd1a0c..a0f79c2673 100644
--- a/libavcodec/hevc/dsp_template.c
+++ b/libavcodec/hevc/dsp_template.c
@@ -302,8 +302,8 @@  IDCT_DC(32)
 ////////////////////////////////////////////////////////////////////////////////
 #define ff_hevc_pel_filters ff_hevc_qpel_filters
 #define DECL_HV_FILTER(f)                              \
-    const uint8_t *hf = ff_hevc_ ## f ## _filters[mx]; \
-    const uint8_t *vf = ff_hevc_ ## f ## _filters[my];
+    const int8_t *hf = ff_hevc_ ## f ## _filters[mx]; \
+    const int8_t *vf = ff_hevc_ ## f ## _filters[my];
 
 #define FW_PUT(p, f, t)                                                                                   \
 static void FUNC(put_hevc_## f)(int16_t *dst, const uint8_t *src, ptrdiff_t srcstride, int height,        \