Unverified Commit 9d035529 authored by Wolle's avatar Wolle Committed by GitHub

fix some compiler warnings

/Audio.cpp:2254:14: warning: unused variable 'pos' [-Wunused-variable]
Audio.cpp:2538:25: warning: unused variable 'size' [-Wunused-variable]
Audio.cpp:2496:29: warning: unused variable 'seqNr' [-Wunused-variable]
Audio.cpp:2433:10: warning: unused variable 'f_entry' [-Wunused-variable]
Audio.cpp:2434:10: warning: variable 'f_ExtInf' set but not used [-Wunused-but-set-variable]
Audio.cpp:2435:9: warning: unused variable 'pos' [-Wunused-variable]
Audio.cpp:2436:11: warning: unused variable 'host' [-Wunused-variable]
Audio.cpp:2438:10: warning: variable 'f_StreamInf' set but not used [-Wunused-but-set-variable]
Audio.cpp:3440:38: warning: format '%s' expects a matching 'char*' argument [-Wformat=]
Audio.cpp:2496:29: warning: 'seqNr' defined but not used [-Wunused-variable]
Audio.cpp:3100:33: warning: '%s' directive writing up to 511 bytes into a region of size 492 [-Wformat-overflow=]
parent 6b1512e7
......@@ -3,7 +3,7 @@
*
* Created on: Oct 26.2018
*
* Version 2.0.4
* Version 2.0.4a
* Updated on: Jul 07.2022
* Author: Wolle (schreibfaul1)
*
......@@ -2493,7 +2493,6 @@ const char* Audio::parsePlaylist_M3U8(){
// http://n3fa-e2.revma.ihrhls.com/zc7729/63_sdtszizjcjbz02/main/163374038.aac
// #EXTINF:10,title="text=\"Spot Block End\" amgTrackId=\"9876543\"",artist=" ",url="length=\"00:00:00\""
// http://n3fa-e2.revma.ihrhls.com/zc7729/63_sdtszizjcjbz02/main/163374039.aac
static uint32_t seqNr = 0;
if(startsWith(m_playlistContent[i], "#EXT-X-MEDIA-SEQUENCE:")){
// do nothing, because MEDIA-SECUENCE is not set sometimes
}
......@@ -3437,7 +3436,7 @@ bool Audio::parseContentType(char* ct) {
break;
case CT_OGG:
m_codec = CODEC_OGG;
if(m_f_Log) { AUDIO_INFO("ContentType %s, ContentType %s found", ct); }
if(m_f_Log) { AUDIO_INFO("ContentType %s found", ct); }
break;
case CT_PLS:
......
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