From e48342485864c1bd02405603c05fa2cee71e80ae Mon Sep 17 00:00:00 2001 From: ziyue <1213642868@qq.com> Date: Wed, 1 Dec 2021 22:14:28 +0800 Subject: [PATCH] =?UTF-8?q?Refine:=20=E5=88=A0=E9=99=A4=E6=97=A0=E6=95=88?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Http/HlsPlayer.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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////