mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
消除编译警告
This commit is contained in:
parent
dfaa8b540c
commit
209689121a
@ -1 +1 @@
|
|||||||
Subproject commit ac02dc10fb0cc065d72a0e950e5c1aafff1da0d6
|
Subproject commit 2d04db1e22f0be31c403d6ed9655e5a5b1602278
|
@ -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) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user