[vlc-devel] [PATCH 10/10] demux:mkv: simplify the default Seekpoint constructor

Steve Lhomme robux4 at videolabs.io
Thu Aug 3 18:18:35 CEST 2017


Use the full constructor.
---
 modules/demux/mkv/matroska_segment_seeker.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/mkv/matroska_segment_seeker.hpp b/modules/demux/mkv/matroska_segment_seeker.hpp
index a4424576e3..3cdbd3830f 100644
--- a/modules/demux/mkv/matroska_segment_seeker.hpp
+++ b/modules/demux/mkv/matroska_segment_seeker.hpp
@@ -66,7 +66,7 @@ class SegmentSeeker
             { }
 
             Seekpoint()
-                : fpos( std::numeric_limits<fptr_t>::max() ), pts( -1 ), trust_level( DISABLED )
+                : Seekpoint( std::numeric_limits<fptr_t>::max(), -1, DISABLED )
             { }
 
             bool operator<( Seekpoint const& rhs ) const
-- 
2.13.0



More information about the vlc-devel mailing list