防止未赋值导致崩溃的问题

This commit is contained in:
xiongziliang 2020-04-02 10:34:25 +08:00
parent f1914ca67f
commit 651d0da14a

View File

@ -88,8 +88,8 @@ protected:
} }
private: private:
DevChannel::Ptr _channel; DevChannel::Ptr _channel;
on_mk_media_close _on_close; on_mk_media_close _on_close = nullptr;
on_mk_media_seek _on_seek; on_mk_media_seek _on_seek = nullptr;
void *_on_seek_data; void *_on_seek_data;
void *_on_close_data; void *_on_close_data;
}; };