diff --git a/api/source/mk_media.cpp b/api/source/mk_media.cpp index bc4c9c7c..0681c164 100755 --- a/api/source/mk_media.cpp +++ b/api/source/mk_media.cpp @@ -88,8 +88,8 @@ protected: } private: DevChannel::Ptr _channel; - on_mk_media_close _on_close; - on_mk_media_seek _on_seek; + on_mk_media_close _on_close = nullptr; + on_mk_media_seek _on_seek = nullptr; void *_on_seek_data; void *_on_close_data; };