mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 04:31:37 +08:00
消除编译警告
This commit is contained in:
parent
68948288e0
commit
188ee1f61a
@ -185,7 +185,7 @@ static void on_mk_webrtc_get_answer_sdp_func(void *user_data, const char *answer
|
|||||||
mk_http_response_invoker_clone_release(user_data);
|
mk_http_response_invoker_clone_release(user_data);
|
||||||
free(response_content);
|
free(response_content);
|
||||||
if (answer) {
|
if (answer) {
|
||||||
free(answer);
|
free((void *)answer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
@ -55,7 +55,6 @@ const char *TSSegment::onSearchPacketTail(const char *data, size_t len) {
|
|||||||
|
|
||||||
#if defined(ENABLE_HLS)
|
#if defined(ENABLE_HLS)
|
||||||
#include "mpeg-ts.h"
|
#include "mpeg-ts.h"
|
||||||
#include "mpeg-ts-proto.h"
|
|
||||||
TSDecoder::TSDecoder() : _ts_segment() {
|
TSDecoder::TSDecoder() : _ts_segment() {
|
||||||
_ts_segment.setOnSegment([this](const char *data, size_t len){
|
_ts_segment.setOnSegment([this](const char *data, size_t len){
|
||||||
ts_demuxer_input(_demuxer_ctx,(uint8_t*)data,len);
|
ts_demuxer_input(_demuxer_ctx,(uint8_t*)data,len);
|
||||||
|
Loading…
Reference in New Issue
Block a user