[vlc-devel] [PATCH] demux: adaptive: add missing virtual destructors

Marvin Scholz epirat07 at gmail.com
Fri Nov 22 01:16:42 CET 2019


---
 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 b023715dbe..c9c966def0 100644
--- a/modules/demux/adaptive/plumbing/Demuxer.hpp
+++ b/modules/demux/adaptive/plumbing/Demuxer.hpp
@@ -107,6 +107,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;
-- 
2.20.1 (Apple Git-117)



More information about the vlc-devel mailing list