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],