mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-26 20:02:21 +08:00
修复指针转换偏移量导致的bug
This commit is contained in:
@@ -264,7 +264,7 @@ public:
|
||||
void addDelegate(const FrameWriterInterface::Ptr &delegate){
|
||||
//_delegates_write可能多线程同时操作
|
||||
lock_guard<mutex> lck(_mtx);
|
||||
_delegates_write.emplace(delegate.get(),delegate);
|
||||
_delegates_write.emplace((void *)delegate.get(),delegate);
|
||||
_need_update = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user