This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 4785a48d2e6ff2e09366b4c2cec083eefe9e2764 Author: Wu Jianhua <[email protected]> AuthorDate: Tue Apr 15 04:46:50 2025 +0800 Commit: jianhuaw <[email protected]> CommitDate: Sun Nov 29 10:42:10 2026 +0000 avcodec/vvc/inter_template: fix avg function for high bitdepth Signed-off-by: Wu Jianhua <[email protected]> --- libavcodec/vvc/inter_template.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavcodec/vvc/inter_template.c b/libavcodec/vvc/inter_template.c index f78a394644..e82ec7cf87 100644 --- a/libavcodec/vvc/inter_template.c +++ b/libavcodec/vvc/inter_template.c @@ -183,8 +183,10 @@ static void FUNC(put_uni_chroma_w_scaled)(uint8_t *_dst, const ptrdiff_t _dst_st #undef TMP_STRIDE static void FUNC(avg)(uint8_t *_dst, const ptrdiff_t _dst_stride, - const int16_t *src0, const int16_t *src1, const int width, const int height) + const int16_t *_src0, const int16_t *_src1, const int width, const int height) { + const tpixel *src0 = (const tpixel *)_src0; + const tpixel *src1 = (const tpixel *)_src1; pixel *dst = (pixel*)_dst; const ptrdiff_t dst_stride = _dst_stride / sizeof(pixel); const int shift = FFMAX(3, 15 - BIT_DEPTH); -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
