Changeset 90277 in vbox for trunk/src/VBox/Storage/CUE.cpp
- Timestamp:
- Jul 21, 2021 8:40:29 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Storage/CUE.cpp
r87048 r90277 238 238 {RT_STR_TUPLE("FILE"), CUEKEYWORD_FILE}, 239 239 {RT_STR_TUPLE("BINARY"), CUEKEYWORD_BINARY}, 240 {RT_STR_TUPLE("MOTOROLA"), CUEKEYWORD_MOTOROLA}, 240 241 {RT_STR_TUPLE("WAVE"), CUEKEYWORD_WAVE}, 241 242 {RT_STR_TUPLE("MP3"), CUEKEYWORD_MP3}, … … 1040 1041 int rc = VINF_SUCCESS; 1041 1042 1043 /* 1044 * Sometimes there is a TITLE/PERFORMER/SONGWRITER directive before the start of the track list, 1045 * skip and ignore those. 1046 */ 1047 while ( RT_SUCCESS(rc) 1048 && ( cueTokenizerSkipIfIsKeywordEqual(pTokenizer, CUEKEYWORD_TITLE) 1049 || cueTokenizerSkipIfIsKeywordEqual(pTokenizer, CUEKEYWORD_PERFORMER) 1050 || cueTokenizerSkipIfIsKeywordEqual(pTokenizer, CUEKEYWORD_SONGWRITER))) 1051 rc = cueParseAndSkipStringRemainder(pThis, pTokenizer, "TITLE/PERFORMER/SONGWRITER"); 1052 1042 1053 while ( RT_SUCCESS(rc) 1043 1054 && cueTokenizerSkipIfIsKeywordEqual(pTokenizer, CUEKEYWORD_TRACK)) … … 1108 1119 if (cueTokenizerSkipIfIsKeywordEqual(pTokenizer, CUEKEYWORD_FILE)) 1109 1120 rc = cueParseFile(pThis, pTokenizer); 1110 else if (cueTokenizerSkipIfIsKeywordEqual(pTokenizer, CUEKEYWORD_TITLE))1111 rc = cueParseAndSkipStringRemainder(pThis, pTokenizer, "TITLE");1112 else if (cueTokenizerSkipIfIsKeywordEqual(pTokenizer, CUEKEYWORD_PERFORMER))1113 rc = cueParseAndSkipStringRemainder(pThis, pTokenizer, "PERFORMER");1114 else if (cueTokenizerSkipIfIsKeywordEqual(pTokenizer, CUEKEYWORD_SONGWRITER))1115 rc = cueParseAndSkipStringRemainder(pThis, pTokenizer, "SONGWRITER");1116 1121 else /* Skip all other keywords we don't need/support. */ 1117 1122 cueTokenizerConsume(pTokenizer); … … 1541 1546 /* Need to convert audio data samples to big endian. */ 1542 1547 if ( pRegion->enmDataForm == VDREGIONDATAFORM_CDDA 1543 && pThis->fLittleEndian)1548 && !pThis->fLittleEndian) 1544 1549 { 1545 1550 *pcbActuallyRead = cbToRead;
Note:
See TracChangeset
for help on using the changeset viewer.