[vlc-commits] demux/adaptive: SubSegment: remove unused private data-member

Filip Roséen git at videolan.org
Sat Feb 25 15:22:16 CET 2017


vlc | branch: master | Filip Roséen <filip at atch.se> | Sat Feb 25 07:39:00 2017 +0100| [5f2d569e831b7a85c4a38bdde206c6ff96b81ef1] | committer: Jean-Baptiste Kempf

demux/adaptive: SubSegment: remove unused private data-member

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/demux/adaptive/playlist/Segment.cpp | 2 +-
 modules/demux/adaptive/playlist/Segment.h   | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/modules/demux/adaptive/playlist/Segment.cpp b/modules/demux/adaptive/playlist/Segment.cpp
index ad70f3d..b0cc2d8 100644
--- a/modules/demux/adaptive/playlist/Segment.cpp
+++ b/modules/demux/adaptive/playlist/Segment.cpp
@@ -259,7 +259,7 @@ IndexSegment::IndexSegment(ICanonicalUrl *parent) :
 }
 
 SubSegment::SubSegment(ISegment *main, size_t start, size_t end) :
-    ISegment(main), parent(main)
+    ISegment(main)
 {
     setByteRange(start, end);
     debugName = "SubSegment";
diff --git a/modules/demux/adaptive/playlist/Segment.h b/modules/demux/adaptive/playlist/Segment.h
index 82b0be3..8dca5e9 100644
--- a/modules/demux/adaptive/playlist/Segment.h
+++ b/modules/demux/adaptive/playlist/Segment.h
@@ -130,8 +130,6 @@ namespace adaptive
                 virtual std::vector<ISegment*> subSegments();
                 virtual void addSubSegment(SubSegment *);
                 static const int CLASSID_SUBSEGMENT = 4;
-            private:
-                ISegment *parent;
         };
     }
 }



More information about the vlc-commits mailing list