[vlc-commits] demux:mkv: remove the unused duration field from Seekpoint
Steve Lhomme
git at videolan.org
Fri Aug 4 10:07:47 CEST 2017
vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Thu Aug 3 18:18:32 2017 +0200| [79740c96eafe3c92d43f7d0c3c9170edbcc9d016] | committer: Jean-Baptiste Kempf
demux:mkv: remove the unused duration field from Seekpoint
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=79740c96eafe3c92d43f7d0c3c9170edbcc9d016
---
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;
};
More information about the vlc-commits
mailing list