[vlc-devel] [PATCH 01/10] demux:mkv: clean the type and default value of the seek position
Steve Lhomme
robux4 at videolabs.io
Thu Aug 3 18:18:26 CEST 2017
---
modules/demux/mkv/matroska_segment.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/demux/mkv/matroska_segment.cpp b/modules/demux/mkv/matroska_segment.cpp
index 69522f36a3..a7431816b2 100644
--- a/modules/demux/mkv/matroska_segment.cpp
+++ b/modules/demux/mkv/matroska_segment.cpp
@@ -801,8 +801,8 @@ bool matroska_segment_c::Seek( mtime_t i_absolute_mk_date, mtime_t i_mk_time_off
{
SegmentSeeker::tracks_seekpoint_t seekpoints;
- uint64_t i_seek_position = -1;
- mtime_t i_mk_seek_time = -1;
+ SegmentSeeker::fptr_t i_seek_position = std::numeric_limits<SegmentSeeker::fptr_t>::max();
+ mtime_t i_mk_seek_time = -1;
mtime_t i_mk_date = i_absolute_mk_date - i_mk_time_offset;
// reset information for all tracks //
--
2.13.0
More information about the vlc-devel
mailing list