summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-01 19:21:59 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-01 19:21:59 +0000
commit2b91c7f04471a71c6dd6ee4df52cbc8bdc2acfc6 (patch)
tree60c497bea3cf21d84b4699358ab08ba240cbca69 /stream
parent2a6755e10d7e48ab8886691d611bdc0aeb366572 (diff)
downloadmpv-2b91c7f04471a71c6dd6ee4df52cbc8bdc2acfc6.tar.bz2
mpv-2b91c7f04471a71c6dd6ee4df52cbc8bdc2acfc6.tar.xz
Reindent.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30803 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r--stream/stream_cue.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/stream/stream_cue.c b/stream/stream_cue.c
index bfcf2b78ac..9d94dd8dda 100644
--- a/stream/stream_cue.c
+++ b/stream/stream_cue.c
@@ -218,12 +218,12 @@ static int cue_find_bin (char *firstline) {
for (i = 0; fd_bin == -1 && i < 6; i++) {
switch (i) {
case 0:
- /* now try to open that file, without path */
+ /* now try to open that file, without path */
cur_name = bin_filename;
break;
case 1:
- /* now try to find it with the path of the cue file */
- snprintf(s,sizeof( s ),"%s/%s",bincue_path,bin_filename);
+ /* now try to find it with the path of the cue file */
+ snprintf(s,sizeof( s ),"%s/%s",bincue_path,bin_filename);
cur_name = s;
break;
case 2:
@@ -234,21 +234,21 @@ static int cue_find_bin (char *firstline) {
cur_name = s;
break;
case 3:
- /* ok try it with path */
- snprintf(t, sizeof( t ), "%s/%s", bincue_path, s);
- fd_bin = open (t, O_RDONLY);
+ /* ok try it with path */
+ snprintf(t, sizeof( t ), "%s/%s", bincue_path, s);
+ fd_bin = open (t, O_RDONLY);
cur_name = t;
break;
case 4:
- /* now I would say the whole filename is shit, build our own */
- strncpy(s, cue_filename, strlen(cue_filename) - 3 );
- s[strlen(cue_filename) - 3] = '\0';
- strcat(s, "img");
+ /* now I would say the whole filename is shit, build our own */
+ strncpy(s, cue_filename, strlen(cue_filename) - 3 );
+ s[strlen(cue_filename) - 3] = '\0';
+ strcat(s, "img");
cur_name = s;
break;
case 5:
- /* ok try it with path */
- snprintf(t, sizeof( t ), "%s/%s", bincue_path, s);
+ /* ok try it with path */
+ snprintf(t, sizeof( t ), "%s/%s", bincue_path, s);
cur_name = t;
break;
}
@@ -259,13 +259,13 @@ static int cue_find_bin (char *firstline) {
}
}
- if (fd_bin == -1)
- {
- /* I'll give up */
- mp_msg(MSGT_OPEN,MSGL_ERR,
- MSGTR_MPDEMUX_CUEREAD_CannotFindBinFile);
- return -1;
- }
+ if (fd_bin == -1)
+ {
+ /* I'll give up */
+ mp_msg(MSGT_OPEN,MSGL_ERR,
+ MSGTR_MPDEMUX_CUEREAD_CannotFindBinFile);
+ return -1;
+ }
if (cur_name != bin_filename)
strcpy(bin_filename, cur_name);