]> git.sesse.net Git - ffmpeg/commitdiff
swscale/tests/swscale: use 1 for indicating erros
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 16 Jul 2020 07:27:28 +0000 (09:27 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 16 Jul 2020 15:44:53 +0000 (17:44 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libswscale/tests/swscale.c

index 845ced61bba02f53f08c351511978cc8525a8f87..6c38041ddb81622314138a3c87d30bc388c03ebe 100644 (file)
@@ -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],