Unverified Commit a533eb80 authored by Wolle's avatar Wolle Committed by GitHub

Add files via upload

parent 70a1311d
......@@ -2978,7 +2978,9 @@ void Audio::processWebFile() {
// we have a webfile, read the file header first - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if(m_controlCounter != 100){
InBuff.bytesWasRead(readAudioHeader(availableBytes));
if(InBuff.bufferFilled() > maxFrameSize){ // read the file header first
InBuff.bytesWasRead(readAudioHeader(InBuff.bufferFilled()));
}
return;
}
......
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