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-24 10:53:35 +0100
commitb2fdf3fc35b6dca8ac7f6d46bd73ea5eb1339193 (patch)
tree26d7abdddca17f7392a83edb33da4b338fcc6ab6 /libavcodec/fft-test.c
parentf80ca1cb002c53927fa3edaff5082bfba24d6193 (diff)
downloadffmpeg-b2fdf3fc35b6dca8ac7f6d46bd73ea5eb1339193.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 eee8cb2631..44c733aa94 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;
}