From 209689121ad6b0039c79ba1f5638e3e069b1e783 Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Sat, 10 Oct 2020 18:36:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=88=E9=99=A4=E7=BC=96=E8=AF=91=E8=AD=A6?= =?UTF-8?q?=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 3rdpart/ZLToolKit | 2 +- src/Http/HlsParser.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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; }