pcmFramesRead=drmp3dec_decode_frame(&pMP3->decoder,pMP3->pData+pMP3->dataConsumed,(int)pMP3->dataSize,pPCMFrames,&info);/* <-- Safe size_t -> int conversion thanks to the check above. */
pcmFramesRead=drmp3dec_decode_frame(&pMP3->decoder,pMP3->pData+pMP3->dataConsumed,(int)pMP3->dataSize,pPCMFrames,&info);/* <-- Safe size_t -> int conversion thanks to the check above. */
/* Consume the data. */
/* Consume the data. */
...
@@ -4432,6 +4435,9 @@ counts rather than sample counts.
...
@@ -4432,6 +4435,9 @@ counts rather than sample counts.
/*
/*
REVISION HISTORY
REVISION HISTORY
================
================
v0.6.19 - 2020-11-13
- Minor code clean up.
v0.6.18 - 2020-11-01
v0.6.18 - 2020-11-01
- Improve compiler support for older versions of GCC.
- Improve compiler support for older versions of GCC.
runningPos+=drwav__write_u32ne_to_le(pWav,0xFFFFFFFF);/* Always set to 0xFFFFFFFF for RF64. The true size of the data chunk is specified in the ds64 chunk. */
runningPos+=drwav__write_u32ne_to_le(pWav,0xFFFFFFFF);/* Always set to 0xFFFFFFFF for RF64. The true size of the data chunk is specified in the ds64 chunk. */
}
}
/*
The runningPos variable is incremented in the section above but is left unused which is causing some static analysis tools to detect it
as a dead store. I'm leaving this as-is for safety just in case I want to expand this function later to include other tags and want to
keep track of the running position for whatever reason. The line below should silence the static analysis tools.
*/
(void)runningPos;
/* Set some properties for the client's convenience. */
/* Set some properties for the client's convenience. */