aboutsummaryrefslogtreecommitdiff
path: root/cue-bin-split.c
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2016-03-11 17:12:11 +1300
committerDavid Phillips <dbphillipsnz@gmail.com>2016-03-11 17:12:11 +1300
commite8120de2e70de2c2bae79b611be689994e2de7df (patch)
tree317273f14f2f52f9f9e39757341bc1e3c2e54cee /cue-bin-split.c
parenteb92f1f8a6f8036ab5337c85dc1dedefbd886fd4 (diff)
downloadcue-bin-split-e8120de2e70de2c2bae79b611be689994e2de7df.tar.xz
Remove disgusting EXIT_SUCCESS and EXIT_FAILURE swarf
Diffstat (limited to 'cue-bin-split.c')
-rw-r--r--cue-bin-split.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cue-bin-split.c b/cue-bin-split.c
index 4b47701..9959d82 100644
--- a/cue-bin-split.c
+++ b/cue-bin-split.c
@@ -92,7 +92,7 @@ int main(int argc, char **argv)
{
fprintf(stderr,"Failed to open '%s': ", in_fname);
perror("fopen");
- return EXIT_FAILURE;
+ return -1;
}
track = 0;
@@ -102,7 +102,7 @@ int main(int argc, char **argv)
if (start_sec < 0)
{
fprintf(stderr, "ERROR: At least one start timestamp must be specified\n");
- return EXIT_FAILURE;
+ return -1;
}
/* finish_sample equals ULONG_MAX if a run was to EOF (the last track) */
@@ -124,7 +124,7 @@ int main(int argc, char **argv)
fprintf(stderr,"Failed to open '%s': ", out_fname);
perror("fopen");
fclose(fin);
- return EXIT_FAILURE;
+ return -1;
}
start_sample = start_sec * rate * channels;