File tree Expand file tree Collapse file tree 3 files changed +87
-91
lines changed
Expand file tree Collapse file tree 3 files changed +87
-91
lines changed Original file line number Diff line number Diff line change @@ -2770,10 +2770,7 @@ const char* Audio::parsePlaylist_M3U8() {
27702770 stopSong ();
27712771 return NULL ;
27722772 }
2773- if (xMedSeq > 0 ) f_mediaSeq_found = true ;
2774- if (xMedSeq == 0 ) { // mo mediaSeqNr but min 3 times #EXTINF found
2775- ;
2776- }
2773+ else f_mediaSeq_found = true ;
27772774 }
27782775
27792776 if (startsWith (m_playlistContent[i], " #EXTINF" )) {
@@ -3492,7 +3489,7 @@ void Audio::processWebStreamTS() {
34923489
34933490 // if the buffer is often almost empty issue a warning - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
34943491 if (m_f_stream) {
3495- if (streamDetection (availableBytes)) return ;
3492+ if (streamDetection (availableBytes)) goto exit ;
34963493 }
34973494
34983495 // buffer fill routine - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@@ -3504,7 +3501,7 @@ void Audio::processWebStreamTS() {
35043501 AUDIO_INFO (" buffer filled in %d ms" , filltime);
35053502 }
35063503 }
3507-
3504+ exit:
35083505 return ;
35093506}
35103507// ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments