[FFmpeg-cvslog] swscale/tests/swscale: use 1 for indicating erros
Michael Niedermayer
git at videolan.org
Thu Jul 16 20:09:55 EEST 2020
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Thu Jul 16 09:27:28 2020 +0200| [663f02441540d6aa870c76cf31fc0e2616c27404] | committer: Michael Niedermayer
swscale/tests/swscale: use 1 for indicating erros
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=663f02441540d6aa870c76cf31fc0e2616c27404
---
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 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],
More information about the ffmpeg-cvslog
mailing list