aboutsummaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2015-07-07 00:22:25 +1200
committerDavid Phillips <dbphillipsnz@gmail.com>2015-07-07 00:22:25 +1200
commit6b3fb4c4977b3ef152ca9e15777d4178ff517d76 (patch)
tree3399635e49f65c12e7c7ec3be141b0f39876bab8 /misc.c
parent2c729734692b2c6e12da83c5ab335892e1e82027 (diff)
downloadcue-bin-split-6b3fb4c4977b3ef152ca9e15777d4178ff517d76.tar.xz
New fixme
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc.c b/misc.c
index c3dc439..eb48628 100644
--- a/misc.c
+++ b/misc.c
@@ -38,11 +38,12 @@ double get_sec()
/* EOF means this is the last track; return invalid time */
if (items == EOF)
{
- return -1;
+ return -1.f;
}
if (items != 3)
{
+ /* FIXME doesn't explicitly close fin from cue-bin-split.c upon exit() */
fprintf(stderr, "Timestamp malformed\n");
exit(EXIT_FAILURE);
}