[vlc-commits] demux:mkv: simplify the default Seekpoint constructor

Steve Lhomme git at videolan.org
Fri Aug 4 10:07:59 CEST 2017


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Thu Aug  3 18:18:35 2017 +0200| [ba27a78003d8464b32587456d2422664dd105de8] | committer: Jean-Baptiste Kempf

demux:mkv: simplify the default Seekpoint constructor

Use the full constructor.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ba27a78003d8464b32587456d2422664dd105de8
---

 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



More information about the vlc-commits mailing list