mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
tests/swscale: fix sscanf return value check
We only parse 12 values, so this check always failed. Regression caused by
a change to the print format.
Fixes: 59c39a79ca
Signed-off-by: Niklas Haas <git@haasn.dev>
Sponsored-by: Sovereign Tech Fund
This commit is contained in:
parent
8cab5bdc69
commit
ee903c4786
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user