This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/9.1 in repository ffmpeg.
commit 31bd54e45dcbd104a043fe9201c00160d25e6e34 Author: Michael Niedermayer <[email protected]> AuthorDate: Sat Nov 7 22:08:08 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Sun Nov 15 06:17:20 2026 +0100 swscale/graph: double the field linesizes by multiplication Fixes: left shift of negative value Fixes: n2XAJMw9D94O Found during the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25387 Found during the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24851 Left shift of a negative value Replicated through UnModified FFmpeg with UBSAN (cherry picked from commit d8e153bfcdd7040a0c61d5e43270bbe8b488d482) Signed-off-by: Michael Niedermayer <[email protected]> --- libswscale/graph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libswscale/graph.c b/libswscale/graph.c index cc8e5cf7a2..bdf934ed5e 100644 --- a/libswscale/graph.c +++ b/libswscale/graph.c @@ -1026,7 +1026,7 @@ static void get_field(SwsGraph *graph, const SwsFormat *fmt, /* Take only every second line */ for (int i = 0; i < 4; i++) - frame->linesize[i] <<= 1; + frame->linesize[i] *= 2; frame->height = (frame->height + (fmt->field == FIELD_TOP)) >> 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]
