mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 04:31:37 +08:00
修复编译警告
This commit is contained in:
parent
bd9769d215
commit
5b4fe604cb
@ -163,7 +163,7 @@ void TsMuxer::init() {
|
|||||||
static mpeg_ts_func_t s_func = {
|
static mpeg_ts_func_t s_func = {
|
||||||
[](void *param, size_t bytes) {
|
[](void *param, size_t bytes) {
|
||||||
TsMuxer *muxer = (TsMuxer *) param;
|
TsMuxer *muxer = (TsMuxer *) param;
|
||||||
assert(sizeof(TsMuxer::_tsbuf) >= bytes);
|
assert(sizeof(muxer->_tsbuf) >= bytes);
|
||||||
return (void *) muxer->_tsbuf;
|
return (void *) muxer->_tsbuf;
|
||||||
},
|
},
|
||||||
[](void *param, void *packet) {
|
[](void *param, void *packet) {
|
||||||
|
Loading…
Reference in New Issue
Block a user