diff --git a/3rdpart/ZLToolKit b/3rdpart/ZLToolKit index ac02dc10..2d04db1e 160000 --- a/3rdpart/ZLToolKit +++ b/3rdpart/ZLToolKit @@ -1 +1 @@ -Subproject commit ac02dc10fb0cc065d72a0e950e5c1aafff1da0d6 +Subproject commit 2d04db1e22f0be31c403d6ed9655e5a5b1602278 diff --git a/src/Http/HlsParser.cpp b/src/Http/HlsParser.cpp index 6dce3837..b6b35f01 100644 --- a/src/Http/HlsParser.cpp +++ b/src/Http/HlsParser.cpp @@ -9,6 +9,7 @@ */ #include +#include #include "HlsParser.h" #include "Util/util.h" #include "Common/Parser.h" @@ -90,7 +91,7 @@ bool HlsParser::parse(const string &http_url, const string &m3u8) { } if (line.find("#EXT-X-MEDIA-SEQUENCE:") == 0) { - sscanf(line.data(), "#EXT-X-MEDIA-SEQUENCE:%lld", &_sequence); + sscanf(line.data(), "#EXT-X-MEDIA-SEQUENCE:%" PRId64, &_sequence); continue; }