[FFmpeg-cvslog] fft-test: Remove possibility of returning restricted exit code

Derek Buitenhuis git at videolan.org
Thu Oct 24 11:54:38 CEST 2013


ffmpeg | branch: master | Derek Buitenhuis <derek.buitenhuis at gmail.com> | Tue Oct 22 19:19:02 2013 +0100| [b2fdf3fc35b6dca8ac7f6d46bd73ea5eb1339193] | committer: Derek Buitenhuis

fft-test: Remove possibility of returning restricted exit code

Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b2fdf3fc35b6dca8ac7f6d46bd73ea5eb1339193
---

 libavcodec/fft-test.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/libavcodec/fft-test.c b/libavcodec/fft-test.c
index eee8cb2..44c733a 100644
--- a/libavcodec/fft-test.c
+++ b/libavcodec/fft-test.c
@@ -499,5 +499,8 @@ int main(int argc, char **argv)
     av_free(tab_ref);
     av_free(exptab);
 
-    return err;
+    if (err)
+        printf("Error: %d.\n", err);
+
+    return !!err;
 }



More information about the ffmpeg-cvslog mailing list