mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +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 = {
|
||||
[](void *param, size_t bytes) {
|
||||
TsMuxer *muxer = (TsMuxer *) param;
|
||||
assert(sizeof(TsMuxer::_tsbuf) >= bytes);
|
||||
assert(sizeof(muxer->_tsbuf) >= bytes);
|
||||
return (void *) muxer->_tsbuf;
|
||||
},
|
||||
[](void *param, void *packet) {
|
||||
|
Loading…
Reference in New Issue
Block a user