Browse Source

base64-test: Remove posibility of returning restricted exit codes

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
tags/n2.1
Derek Buitenhuis 11 years ago
parent
commit
8dc1b7bd22
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      libavutil/base64.c

+ 4
- 1
libavutil/base64.c View File

@@ -156,7 +156,10 @@ int main(void)
for (i = 0; i < FF_ARRAY_ELEMS(tests); i++)
error_count += test_encode_decode(tests[i].data, strlen(tests[i].data), tests[i].encoded_ref);

return error_count;
if (error_count)
printf("Error Count: %d.\n", error_count);

return !!error_count;
}

#endif

Loading…
Cancel
Save