Skip to content

Commit 98c2dfa

Browse files
Fixed possible desync (#118)
* Fixed possible desync * cleanup
1 parent 05b7e8c commit 98c2dfa

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/ESP32_VS1053_Stream.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -649,9 +649,6 @@ void ESP32_VS1053_Stream::_handleChunkedStream(WiFiClient *stream)
649649
_musicDataPosition = 0;
650650
}
651651

652-
if (!_bytesLeftInChunk && stream->available() < 20) /* make sure we dont run out of data in the next test*/
653-
return;
654-
655652
if (!_bytesLeftInChunk && !_checkSync(stream))
656653
{
657654
_remainingBytes = 0;

0 commit comments

Comments
 (0)