mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 02:20:56 +01:00
tree-test: Don't return restricted exit codes
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
parent
94d707af3c
commit
5dfdffeb6f
1 changed files with 2 additions and 2 deletions
|
|
@ -225,7 +225,7 @@ int main(int argc, char **argv)
|
|||
if (check(root) > 999) {
|
||||
av_log(NULL, AV_LOG_ERROR, "FATAL error %d\n", i);
|
||||
print(root, 0);
|
||||
return -1;
|
||||
return 1;
|
||||
}
|
||||
av_log(NULL, AV_LOG_DEBUG, "inserting %4d\n", (int)j);
|
||||
|
||||
|
|
@ -233,7 +233,7 @@ int main(int argc, char **argv)
|
|||
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, (void *)(j + 1), cmp, &node);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue