summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stream/stream_cue.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/stream/stream_cue.c b/stream/stream_cue.c
index 561529b03d..ecc5e5b43a 100644
--- a/stream/stream_cue.c
+++ b/stream/stream_cue.c
@@ -208,8 +208,11 @@ static int cue_find_bin (const char *firstline) {
fd_bin = -1;
for (i = 0; fd_bin == -1 && i < 6; i++) {
+ if (i <=1 && bin_filename[0] == '\0')
+ continue;
if (i > 1 && strlen(cue_filename) < 3)
break;
+
switch (i) {
case 0:
/* now try to open that file, without path */