aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2013-10-22 19:18:36 +0100
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2013-10-24 10:53:10 +0100
commitf80ca1cb002c53927fa3edaff5082bfba24d6193 (patch)
tree0bf69b3eb3fa812cd5b2474d41a377a9b50a175c
parentcbbd0ac764b43df081898a2c3548a2fee1faca53 (diff)
downloadffmpeg-f80ca1cb002c53927fa3edaff5082bfba24d6193.tar.gz
dct-test: Remove possibility of returning a restricted exit code
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-rw-r--r--libavcodec/dct-test.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
index 4809124254..be00c4bb96 100644
--- a/libavcodec/dct-test.c
+++ b/libavcodec/dct-test.c
@@ -580,5 +580,8 @@ int main(int argc, char **argv)
}
}
- return err;
+ if (err)
+ printf("Error: %d.\n", err);
+
+ return !!err;
}