diff --git a/src/Http/HlsPlayer.h b/src/Http/HlsPlayer.h index fdafb279..453110a4 100644 --- a/src/Http/HlsPlayer.h +++ b/src/Http/HlsPlayer.h @@ -128,9 +128,7 @@ class HlsPlayerImp : public PlayerImp, private TrackListe public: typedef std::shared_ptr Ptr; HlsPlayerImp(const EventPoller::Ptr &poller = nullptr); - ~HlsPlayerImp() override {}; - - void setOnPacket(const TSSegment::onSegment &cb); + ~HlsPlayerImp() override = default; private: //// HlsPlayer override////