vlc | branch: master | Steve Lhomme <rob...@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 <j...@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;
         };
 

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to