This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 2222b523f2efd717028b3a44c575e72743fadcf2 Author: Ramiro Polla <[email protected]> AuthorDate: Fri Mar 6 19:36:32 2026 +0100 Commit: Ramiro Polla <[email protected]> CommitDate: Sat Mar 14 06:13:19 2026 +0000 swscale/tests/swscale: cosmetics (avoid assignments in conditions) --- libswscale/tests/swscale.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libswscale/tests/swscale.c b/libswscale/tests/swscale.c index 4eea9f28d4..28f79e1036 100644 --- a/libswscale/tests/swscale.c +++ b/libswscale/tests/swscale.c @@ -238,7 +238,8 @@ static int scale_legacy(AVFrame *dst, const AVFrame *src, if (ret < 0) goto error; - if ((ret = sws_init_context(sws_legacy, NULL, NULL)) < 0) + ret = sws_init_context(sws_legacy, NULL, NULL); + if (ret < 0) goto error; int64_t time = av_gettime_relative(); @@ -728,7 +729,8 @@ int main(int argc, char **argv) ref->height = opts.h; ref->format = AV_PIX_FMT_YUVA444P; - if (init_ref(ref, &opts) < 0) + ret = init_ref(ref, &opts); + if (ret < 0) goto error; ret = fp ? run_file_tests(ref, fp, &opts) _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
