[vlc-commits] MKV: remove unused variable

Jean-Baptiste Kempf git at videolan.org
Sat Nov 19 02:06:39 CET 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Nov 19 02:01:38 2011 +0100| [1e378378cee17f7cb7579e168ee517246ac1c37e] | committer: Jean-Baptiste Kempf

MKV: remove unused variable

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

 modules/demux/mkv/matroska_segment.cpp |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/modules/demux/mkv/matroska_segment.cpp b/modules/demux/mkv/matroska_segment.cpp
index a093dcc..b80f492 100644
--- a/modules/demux/mkv/matroska_segment.cpp
+++ b/modules/demux/mkv/matroska_segment.cpp
@@ -681,7 +681,6 @@ void matroska_segment_c::Seek( mtime_t i_date, mtime_t i_time_offset, int64_t i_
 {
     KaxBlock    *block;
     KaxSimpleBlock *simpleblock;
-    int         i_track_skipping;
     int64_t     i_block_duration;
     size_t      i_track;
     int64_t     i_seek_position = i_start_pos;
@@ -761,8 +760,8 @@ void matroska_segment_c::Seek( mtime_t i_date, mtime_t i_time_offset, int64_t i_
     sys.i_start_pts = i_date;
 
     es_out_Control( sys.demuxer.out, ES_OUT_SET_NEXT_DISPLAY_TIME, i_date );
+
     /* now parse until key frame */
-    i_track_skipping = 0;
     for( i_track = 0; i_track < tracks.size(); i_track++ )
     {
         if( tracks[i_track]->fmt.i_cat == VIDEO_ES )



More information about the vlc-commits mailing list