[vlc-commits] demux: adaptive: remove unused member
Francois Cartegnie
git at videolan.org
Tue Jan 5 20:25:40 UTC 2021
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Dec 31 17:49:30 2020 +0100| [1197d7335a13128d647d3cdcbc6387091eb993f3] | committer: Francois Cartegnie
demux: adaptive: remove unused member
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1197d7335a13128d647d3cdcbc6387091eb993f3
---
modules/demux/adaptive/playlist/Segment.cpp | 1 -
modules/demux/adaptive/playlist/Segment.h | 1 -
2 files changed, 2 deletions(-)
diff --git a/modules/demux/adaptive/playlist/Segment.cpp b/modules/demux/adaptive/playlist/Segment.cpp
index 76480be3f1..ccc52e04f8 100644
--- a/modules/demux/adaptive/playlist/Segment.cpp
+++ b/modules/demux/adaptive/playlist/Segment.cpp
@@ -184,7 +184,6 @@ void ISegment::setEncryption(CommonEncryption &e)
Segment::Segment(ICanonicalUrl *parent) :
ISegment(parent)
{
- size = -1;
}
SegmentChunk* Segment::createChunk(AbstractChunkSource *source, BaseRepresentation *rep)
diff --git a/modules/demux/adaptive/playlist/Segment.h b/modules/demux/adaptive/playlist/Segment.h
index 0e4c94dc1d..c35f2eec23 100644
--- a/modules/demux/adaptive/playlist/Segment.h
+++ b/modules/demux/adaptive/playlist/Segment.h
@@ -106,7 +106,6 @@ namespace adaptive
protected:
std::vector<Segment *> subsegments;
Url sourceUrl;
- int size;
};
class InitSegment : public Segment
More information about the vlc-commits
mailing list