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

Derek Buitenhuis git at videolan.org
Fri Oct 25 13:47:39 CEST 2013


ffmpeg | branch: master | Derek Buitenhuis <derek.buitenhuis at gmail.com> | Tue Oct 22 19:19:02 2013 +0100| [7177df90a043bd59e172843fc7cb9e767080ea12] | 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=7177df90a043bd59e172843fc7cb9e767080ea12
---

 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 1e46750..ff5a126 100644
--- a/libavcodec/fft-test.c
+++ b/libavcodec/fft-test.c
@@ -489,5 +489,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