diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2013-10-22 22:08:43 +0400 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2013-10-24 13:59:26 +0400 |
commit | 530cd2893e020206262a146d567c707ef93baf31 (patch) | |
tree | ad17af5c1d2566b201593e00c521e9a745c51b63 /libavutil | |
parent | fb13fe8342faff6f7ca9c747aff5d7cf7c5202c6 (diff) |
tree-test: Don't return restricted exit codes
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/tree.c b/libavutil/tree.c index b419e16ca0..d48d01af5b 100644 --- a/libavutil/tree.c +++ b/libavutil/tree.c @@ -230,14 +230,14 @@ int main(void) if (check(root) > 999) { av_log(NULL, AV_LOG_ERROR, "FATAL error %d\n", i); print(root, 0); - return -1; + return 1; } if (!node) node = av_tree_node_alloc(); if (!node) { av_log(NULL, AV_LOG_ERROR, "Memory allocation failure.\n"); - return AVERROR(ENOMEM); + return 1; } av_tree_insert(&root, jj, cmp, &node); |