Commit 458ed4bd authored by schreibfaul1's avatar schreibfaul1

read mp3 apic <= 6MB #748

parent 5176f93d
...@@ -3065,7 +3065,6 @@ void Audio::processLocalFile() { ...@@ -3065,7 +3065,6 @@ void Audio::processLocalFile() {
if(m_audioDataSize) { availableBytes = min(availableBytes, m_audioDataSize + m_audioDataStart - byteCounter); } if(m_audioDataSize) { availableBytes = min(availableBytes, m_audioDataSize + m_audioDataStart - byteCounter); }
int32_t bytesAddedToBuffer = audiofile.read(InBuff.getWritePtr(), availableBytes); int32_t bytesAddedToBuffer = audiofile.read(InBuff.getWritePtr(), availableBytes);
if(bytesAddedToBuffer > 0) { if(bytesAddedToBuffer > 0) {
byteCounter += bytesAddedToBuffer; // Pull request #42 byteCounter += bytesAddedToBuffer; // Pull request #42
InBuff.bytesWritten(bytesAddedToBuffer); InBuff.bytesWritten(bytesAddedToBuffer);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment