[vlc-devel] [PATCH 5/7] demux/adaptive: SubSegment: remove unused private data-member
Filip Roséen
filip at atch.se
Sat Feb 25 07:39:00 CET 2017
---
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 ad70f3de8b..b0cc2d88bd 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 82b0be30a4..8dca5e9538 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;
};
}
}
--
2.11.1
More information about the vlc-devel
mailing list