[vlc-commits] demux:mkv: no need to reset the i_skip_until_fpos on each block read

Steve Lhomme git at videolan.org
Wed Feb 14 13:46:17 CET 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Feb 14 09:41:41 2018 +0100| [9069683b599197804f9461deac59da85f585d913] | committer: Steve Lhomme

demux:mkv: no need to reset the i_skip_until_fpos on each block read

Once it's passed it won't be used anymore.

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

 modules/demux/mkv/mkv.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/demux/mkv/mkv.cpp b/modules/demux/mkv/mkv.cpp
index 0b634fc912..2a9ada5eff 100644
--- a/modules/demux/mkv/mkv.cpp
+++ b/modules/demux/mkv/mkv.cpp
@@ -763,8 +763,6 @@ static int Demux( demux_t *p_demux)
                 delete block;
                 return 1; // this block shall be ignored
             }
-
-            track.i_skip_until_fpos = std::numeric_limits<uint64_t>::max();
         }
     }
 



More information about the vlc-commits mailing list