[MPlayer-cvslog] r33521 - trunk/stream/stream_cue.c
iive
subversion at mplayerhq.hu
Mon May 30 00:41:53 CEST 2011
Author: iive
Date: Mon May 30 00:41:52 2011
New Revision: 33521
Log:
Avoid probing with empty filename in cue_find_bin().
Modified:
trunk/stream/stream_cue.c
Modified: trunk/stream/stream_cue.c
==============================================================================
--- trunk/stream/stream_cue.c Sun May 29 14:23:38 2011 (r33520)
+++ trunk/stream/stream_cue.c Mon May 30 00:41:52 2011 (r33521)
@@ -210,8 +210,11 @@ static int cue_find_bin (const char *fir
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 */
More information about the MPlayer-cvslog
mailing list