[vlc-commits] demux: adaptive: add missing virtual destructors

Marvin Scholz git at videolan.org
Mon Dec 9 16:44:38 CET 2019


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Fri Nov 22 01:15:46 2019 +0100| [2f6e1f4ff24f46d92e41c4f3ee260511d534bfbe] | committer: Marvin Scholz

demux: adaptive: add missing virtual destructors

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2f6e1f4ff24f46d92e41c4f3ee260511d534bfbe
---

 modules/demux/adaptive/SegmentTracker.hpp     | 1 +
 modules/demux/adaptive/plumbing/Demuxer.hpp   | 1 +
 modules/demux/adaptive/plumbing/FakeESOut.hpp | 1 +
 3 files changed, 3 insertions(+)

diff --git a/modules/demux/adaptive/SegmentTracker.hpp b/modules/demux/adaptive/SegmentTracker.hpp
index cb035d6200..4f6e132caf 100644
--- a/modules/demux/adaptive/SegmentTracker.hpp
+++ b/modules/demux/adaptive/SegmentTracker.hpp
@@ -109,6 +109,7 @@ namespace adaptive
     {
         public:
             virtual void trackerEvent(const SegmentTrackerEvent &) = 0;
+            virtual ~SegmentTrackerListenerInterface() = default;
     };
 
     class SegmentTracker
diff --git a/modules/demux/adaptive/plumbing/Demuxer.hpp b/modules/demux/adaptive/plumbing/Demuxer.hpp
index 14218d7e38..0f16180178 100644
--- a/modules/demux/adaptive/plumbing/Demuxer.hpp
+++ b/modules/demux/adaptive/plumbing/Demuxer.hpp
@@ -114,6 +114,7 @@ namespace adaptive
         public:
             virtual AbstractDemuxer * newDemux(vlc_object_t *, const StreamFormat &,
                                                es_out_t *, AbstractSourceStream *) const = 0;
+            virtual ~DemuxerFactoryInterface() = default;
     };
 }
 
diff --git a/modules/demux/adaptive/plumbing/FakeESOut.hpp b/modules/demux/adaptive/plumbing/FakeESOut.hpp
index b634499052..da16d29d1d 100644
--- a/modules/demux/adaptive/plumbing/FakeESOut.hpp
+++ b/modules/demux/adaptive/plumbing/FakeESOut.hpp
@@ -29,6 +29,7 @@ namespace adaptive
     {
         public:
             virtual void fillExtraFMTInfo( es_format_t * ) const = 0;
+            virtual ~ExtraFMTInfoInterface() = default;
     };
 
     class CommandsQueue;



More information about the vlc-commits mailing list