This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit c23d4da3128c279b714b282e6ec292e8755007e3 Author: Michael Niedermayer <[email protected]> AuthorDate: Tue May 19 19:49:42 2026 +0200 Commit: michaelni <[email protected]> CommitDate: Mon May 25 02:05:30 2026 +0000 avcodec/magicyuv: Fix 1 line MEDIAN slices No testcase 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 aaff4df175..04fb6cc147 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]
