[vlc-commits] demux:mkv: remove useless initialization

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


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

demux:mkv: remove useless initialization

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

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

 modules/demux/mkv/matroska_segment_seeker.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/mkv/matroska_segment_seeker.cpp b/modules/demux/mkv/matroska_segment_seeker.cpp
index 1c67e66210..6ac257ce86 100644
--- a/modules/demux/mkv/matroska_segment_seeker.cpp
+++ b/modules/demux/mkv/matroska_segment_seeker.cpp
@@ -302,7 +302,7 @@ SegmentSeeker::index_unsearched_range( matroska_segment_c& ms, Range search_area
     search_area.start = ms.es.I_O().getFilePointer();
 
     fptr_t  block_pos = search_area.start;
-    mtime_t block_pts = std::numeric_limits<mtime_t>::max();
+    mtime_t block_pts;
 
     while( block_pos < search_area.end )
     {



More information about the vlc-commits mailing list