Commit 20968912 by xiongziliang

消除编译警告

parent dfaa8b54
Subproject commit ac02dc10fb0cc065d72a0e950e5c1aafff1da0d6 Subproject commit 2d04db1e22f0be31c403d6ed9655e5a5b1602278
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
*/ */
#include <cstdlib> #include <cstdlib>
#include <inttypes.h>
#include "HlsParser.h" #include "HlsParser.h"
#include "Util/util.h" #include "Util/util.h"
#include "Common/Parser.h" #include "Common/Parser.h"
...@@ -90,7 +91,7 @@ bool HlsParser::parse(const string &http_url, const string &m3u8) { ...@@ -90,7 +91,7 @@ bool HlsParser::parse(const string &http_url, const string &m3u8) {
} }
if (line.find("#EXT-X-MEDIA-SEQUENCE:") == 0) { 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; continue;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论