summaryrefslogtreecommitdiff
path: root/libswscale/tests
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2020-07-16 09:27:28 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2020-07-16 17:44:53 +0200
commit663f02441540d6aa870c76cf31fc0e2616c27404 (patch)
tree8c91b2db71f3e41cf2f17980d396ce5736af4ce3 /libswscale/tests
parenta9fecb8ea181d285a3218e27c97e5857925731d8 (diff)
downloadffmpeg-663f02441540d6aa870c76cf31fc0e2616c27404.tar.gz
swscale/tests/swscale: use 1 for indicating erros
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libswscale/tests')
-rw-r--r--libswscale/tests/swscale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/tests/swscale.c b/libswscale/tests/swscale.c
index 845ced61bb..6c38041ddb 100644
--- a/libswscale/tests/swscale.c
+++ b/libswscale/tests/swscale.c
@@ -248,7 +248,7 @@ end:
if (dstStride[i])
av_free(dst[i]);
- return res;
+ return !!res;
}
static void selfTest(const uint8_t * const ref[4], int refStride[4],