mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 04:31:37 +08:00
修复编译警告
This commit is contained in:
parent
4d6d56f2b7
commit
5175c52abe
@ -155,7 +155,7 @@ int main(int argc, char *argv[]) {
|
||||
recursive_mutex mtx;
|
||||
unordered_map<void *, MediaPusher::Ptr> pusher_map;
|
||||
|
||||
auto add_pusher = [&](const MediaSource::Ptr &src, const string &rand_str, int index) {
|
||||
auto add_pusher = [&](const MediaSource::Ptr &src, const string &rand_str, size_t index) {
|
||||
auto pusher = std::make_shared<MediaPusher>(src);
|
||||
auto tag = pusher.get();
|
||||
pusher->setOnCreateSocket([](const EventPoller::Ptr &poller) {
|
||||
|
Loading…
Reference in New Issue
Block a user