This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 8ddb82fd757baad5d04704436864a8862ac7971b Author: Andreas Rheinhardt <[email protected]> AuthorDate: Sat Feb 21 16:27:47 2026 +0100 Commit: Andreas Rheinhardt <[email protected]> CommitDate: Tue Mar 10 13:52:18 2026 +0100 avformat/lafdec: Fix shadowing Signed-off-by: Andreas Rheinhardt <[email protected]> --- libavformat/lafdec.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/libavformat/lafdec.c b/libavformat/lafdec.c index e641d4b6ee..f9d90595ae 100644 --- a/libavformat/lafdec.c +++ b/libavformat/lafdec.c @@ -199,13 +199,8 @@ again: uint8_t val = s->header[i]; for (int j = 0; j < 8 && cur_st < ctx->nb_streams; j++, cur_st++) { - StreamParams *stp = &s->p[st_index]; - - stp->stored = 0; - if (val & 1) { - stp->stored = 1; - st_count++; - } + s->p[st_index].stored = val & 1; + st_count += val & 1; val >>= 1; st_index++; } _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
