[vlc-devel] [PATCH 07/10] demux:mkv: remove the unused duration field from Seekpoint
Steve Lhomme
robux4 at videolabs.io
Thu Aug 3 18:18:32 CEST 2017
---
modules/demux/mkv/matroska_segment_seeker.hpp | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/modules/demux/mkv/matroska_segment_seeker.hpp b/modules/demux/mkv/matroska_segment_seeker.hpp
index 76608c6fb3..e80a367def 100644
--- a/modules/demux/mkv/matroska_segment_seeker.hpp
+++ b/modules/demux/mkv/matroska_segment_seeker.hpp
@@ -61,12 +61,12 @@ class SegmentSeeker
DISABLED = -1,
};
- Seekpoint( TrustLevel trust_level, fptr_t fpos, mtime_t pts, mtime_t duration = -1 )
- : fpos( fpos ), pts( pts ), duration( duration ), trust_level( trust_level )
+ Seekpoint( TrustLevel trust_level, fptr_t fpos, mtime_t pts )
+ : fpos( fpos ), pts( pts ), trust_level( trust_level )
{ }
Seekpoint()
- : fpos( std::numeric_limits<fptr_t>::max() ), pts( -1 ), duration( -1 ), trust_level( DISABLED )
+ : fpos( std::numeric_limits<fptr_t>::max() ), pts( -1 ), trust_level( DISABLED )
{ }
bool operator<( Seekpoint const& rhs ) const
@@ -76,7 +76,6 @@ class SegmentSeeker
fptr_t fpos;
mtime_t pts;
- mtime_t duration;
TrustLevel trust_level;
};
--
2.13.0
More information about the vlc-devel
mailing list