aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/fft-test.c
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2013-10-22 19:19:02 +0100
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2013-10-25 11:06:43 +0100
commit7177df90a043bd59e172843fc7cb9e767080ea12 (patch)
treec584e80981c95b7b123f6b67395a8d9131f4f4ca /libavcodec/fft-test.c
parent5331d2b93fe277b3d81ace47fef017528e72b7c4 (diff)
downloadffmpeg-7177df90a043bd59e172843fc7cb9e767080ea12.tar.gz
fft-test: Remove possibility of returning restricted exit code
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavcodec/fft-test.c')
-rw-r--r--libavcodec/fft-test.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/fft-test.c b/libavcodec/fft-test.c
index 1e4675019c..ff5a126e5f 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;
}