diff options
author | Wen Heping <wen@FreeBSD.org> | 2009-11-27 01:57:49 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2009-11-27 01:57:49 +0000 |
commit | 9367deaf270c3ba25e4e236430cbf6d3a95d54b9 (patch) | |
tree | dda16ac0fa84c97c149aa129583e08b248daedb4 /audio/libmp3splt/files | |
parent | ce5103d877be13caa2c4437eea3cba9bae22c0ee (diff) |
Notes
Diffstat (limited to 'audio/libmp3splt/files')
-rw-r--r-- | audio/libmp3splt/files/patch-cddb.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/audio/libmp3splt/files/patch-cddb.c b/audio/libmp3splt/files/patch-cddb.c deleted file mode 100644 index a479194792ed..000000000000 --- a/audio/libmp3splt/files/patch-cddb.c +++ /dev/null @@ -1,19 +0,0 @@ ---- src/cddb.c.orig -+++ src/cddb.c -@@ -393,6 +393,16 @@ - //we read the file line by line - while (fgets(line, 2048, file_input)!=NULL) - { -+ //if windows file with '\r', then pretend is a unix file -+ if (strlen(line) > 1) -+ { -+ if (line[strlen(line)-2] == '\r') -+ { -+ line[strlen(line)-2] = '\n'; -+ line[strlen(line)-1] = '\0'; -+ } -+ } -+ - type = SPLT_CUE_NOTHING; - - //we read strings from file TRACK,TITLE,AUDIO,PERFORMER,INDEX |