From: Niklas Haas <g...@haasn.dev>

We only parse 12 values, so this check always failed. Regression caused by
a change to the print format.

Fixes: 59c39a79cafdcb46972380aac5644f84059cd2a8
Signed-off-by: Niklas Haas <g...@haasn.dev>
Sponsored-by: Sovereign Tech Fund
---
 libswscale/tests/swscale.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libswscale/tests/swscale.c b/libswscale/tests/swscale.c
index 737b94409c..3ed00f90a8 100644
--- a/libswscale/tests/swscale.c
+++ b/libswscale/tests/swscale.c
@@ -309,7 +309,7 @@ static int run_file_tests(const AVFrame *ref, FILE *fp, 
struct options opts)
                      src_fmt_str, &sw, &sh, dst_fmt_str, &dw, &dh,
                      &mode.flags, &mode.dither,
                      &mse[0], &mse[1], &mse[2], &mse[3]);
-        if (ret != 13) {
+        if (ret != 12) {
             printf("%s", buf);
             continue;
         }
-- 
2.47.0

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to