diff options
author | Zhao Zhili <[email protected]> | 2024-09-08 00:48:14 +0800 |
---|---|---|
committer | Nuo Mi <[email protected]> | 2024-09-14 16:36:34 +0800 |
commit | 11443cc9b1ed0d1db901bad55bd1f0819e8187af (patch) | |
tree | 2ce9b423cec72f0b23a04d2b835fb923eec16e13 | |
parent | 9f6c8eb41226af7d9f6d9bb2ad2979849e7a3dc2 (diff) |
avcodec/hevc: ff_hevc_(qpel/epel)_filters are signed type
-rw-r--r-- | libavcodec/hevc/dsp_template.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, \ |