unsigned long taglen = 0;
unsigned long needToloopv2taglen;
unsigned long oneFrameLen = 0;
- unsigned long v2numOfFrames = 0;
unsigned long curPos = 0;
char CompTmp[4];
unsigned char *pExtContent = NULL;
debug_msg(RELEASE, "ID3tag v222--------------------------------------------------------------\n");
if (needToloopv2taglen - MP3_TAGv2_22_TXT_HEADER_LEN > MP3_TAGv2_22_TXT_HEADER_LEN) {
- v2numOfFrames = 1;
while (needToloopv2taglen > MP3_TAGv2_22_TXT_HEADER_LEN) {
if ((buffer[curPos] < '0' || buffer[curPos] > 'Z') || (buffer[curPos + 1] < '0' || buffer[curPos + 1] > 'Z')
|| (buffer[curPos + 2] < '0' || buffer[curPos + 2] > 'Z'))
mmfile_free(pExtContent);
memset(CompTmp, 0, 4);
- if (curPos < taglen) {
+ if (curPos < taglen)
needToloopv2taglen -= oneFrameLen;
- v2numOfFrames++;
- } else
+ else
needToloopv2taglen = MP3_TAGv2_22_TXT_HEADER_LEN;
+
oneFrameLen = 0;
encodingOffSet = 0;
realCpyFrameNum = 0;
unsigned long taglen = 0;
unsigned long needToloopv2taglen;
unsigned long oneFrameLen = 0;
- unsigned long v2numOfFrames = 0;
unsigned long curPos = 0;
char CompTmp[5];
unsigned char *pExtContent = NULL;
}
if (needToloopv2taglen - MP3_TAGv2_23_TXT_HEADER_LEN > MP3_TAGv2_23_TXT_HEADER_LEN) {
- v2numOfFrames = 1;
while (needToloopv2taglen > MP3_TAGv2_23_TXT_HEADER_LEN) {
if ((buffer[curPos] < '0' || buffer[curPos] > 'Z') || (buffer[curPos + 1] < '0' || buffer[curPos + 1] > 'Z')
|| (buffer[curPos + 2] < '0' || buffer[curPos + 2] > 'Z') || (buffer[curPos + 3] < '0' || buffer[curPos + 3] > 'Z'))
mmfile_free(pExtContent);
memset(CompTmp, 0, 4);
- if (curPos < taglen) {
+ if (curPos < taglen)
needToloopv2taglen -= oneFrameLen;
- v2numOfFrames++;
- } else
+ else
needToloopv2taglen = MP3_TAGv2_23_TXT_HEADER_LEN;
+
oneFrameLen = 0;
encodingOffSet = 0;
realCpyFrameNum = 0;
unsigned long taglen = 0;
unsigned long needToloopv2taglen;
unsigned long oneFrameLen = 0;
- unsigned long v2numOfFrames = 0;
unsigned long curPos = 0;
char CompTmp[5];
unsigned char *pExtContent = NULL;
}
if (needToloopv2taglen - MP3_TAGv2_23_TXT_HEADER_LEN > MP3_TAGv2_23_TXT_HEADER_LEN) {
- v2numOfFrames = 1;
while (needToloopv2taglen > MP3_TAGv2_23_TXT_HEADER_LEN) {
if ((buffer[curPos] < '0' || buffer[curPos] > 'Z') || (buffer[curPos + 1] < '0' || buffer[curPos + 1] > 'Z')
|| (buffer[curPos + 2] < '0' || buffer[curPos + 2] > 'Z') || (buffer[curPos + 3] < '0' || buffer[curPos + 3] > 'Z'))
mmfile_free(pExtContent);
memset(CompTmp, 0, 4);
- if (curPos < taglen) {
+ if (curPos < taglen)
needToloopv2taglen -= oneFrameLen;
- v2numOfFrames++;
- } else
+ else
needToloopv2taglen = MP3_TAGv2_23_TXT_HEADER_LEN;
oneFrameLen = 0;