This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit d74f5e0559ba09d942c47687856349b03c1115dd Author: Michael Niedermayer <[email protected]> AuthorDate: Mon Sep 14 03:32:18 2026 +0200 Commit: michaelni <[email protected]> CommitDate: Mon Sep 28 03:36:07 2026 +0000 avcodec/proresenc_anatoliy: fill the slice from the field's own number of lines Fixes: yj4leb1MWWEF Fixes: out of array read Found-by: Zheng Yu @ Depthfirst --- libavcodec/proresenc_anatoliy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/proresenc_anatoliy.c b/libavcodec/proresenc_anatoliy.c index 1d40410199..acc3c72083 100644 --- a/libavcodec/proresenc_anatoliy.c +++ b/libavcodec/proresenc_anatoliy.c @@ -496,7 +496,7 @@ static inline void subimage_with_fill_template(const uint16_t *src, unsigned x, } else { src_stride = stride; /* 2 lines stride */ src += y * src_stride + x; - box_height = FFMIN(height/2 - y, dst_height); + box_height = FFMIN((height + is_top_field) / 2 - y, dst_height); if (!is_top_field) src += stride >> 1; } -- 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]
