This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/8.1 in repository ffmpeg.
commit a991b3e1102824730de6b0b2afd1c7e41fbdf03d Author: Michael Niedermayer <[email protected]> AuthorDate: Tue May 19 19:49:42 2026 +0200 Commit: Michael Niedermayer <[email protected]> CommitDate: Sun Jun 14 04:40:54 2026 +0200 avcodec/magicyuv: Fix 1 line MEDIAN slices No testcase Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit c23d4da3128c279b714b282e6ec292e8755007e3) Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/magicyuv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/magicyuv.c b/libavcodec/magicyuv.c index 46d474a24b..bc40032cac 100644 --- a/libavcodec/magicyuv.c +++ b/libavcodec/magicyuv.c @@ -225,7 +225,8 @@ static int magy_decode_slice10(AVCodecContext *avctx, void *tdata, s->llviddsp.add_left_pred_int16(dst, dst, max, width, 0); dst += stride; } - lefttop = left = dst[0]; + if (1 + interlaced < height) + lefttop = left = dst[0]; for (k = 1 + interlaced; k < height; k++) { magicyuv_median_pred16(dst, dst - fake_stride, dst, width, &left, &lefttop, max); lefttop = left = dst[0]; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
