[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 16:48:13 CET 2018


vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Feb 14 09:41:41 2018 +0100| [0d89ce8fc20e8bb42eef5274eb38ed0e039290bb] | committer: Hugo Beauzée-Luyssen

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.

(cherry picked from commit 9069683b599197804f9461deac59da85f585d913)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

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

 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 cb6036e629..df86a10d8f 100644
--- a/modules/demux/mkv/mkv.cpp
+++ b/modules/demux/mkv/mkv.cpp
@@ -738,8 +738,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