]> git.sesse.net Git - vlc/commitdiff
Remove unused struct member
authorTobias Güntner <fatbull@web.de>
Mon, 26 Sep 2011 13:31:52 +0000 (13:31 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 2 Oct 2011 18:31:38 +0000 (20:31 +0200)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
include/vlc_input.h
modules/demux/mkv/virtual_segment.cpp

index 428df836e142806663890a209b145f508c0b750b..ba33d8f469cfdb1dfac8c425fdc433eab6481e27 100644 (file)
@@ -83,7 +83,6 @@ struct seekpoint_t
     int64_t i_byte_offset;
     int64_t i_time_offset;
     char    *psz_name;
-    int     i_level;
 };
 
 static inline seekpoint_t *vlc_seekpoint_New( void )
@@ -91,7 +90,6 @@ static inline seekpoint_t *vlc_seekpoint_New( void )
     seekpoint_t *point = (seekpoint_t*)malloc( sizeof( seekpoint_t ) );
     point->i_byte_offset =
     point->i_time_offset = -1;
-    point->i_level = 0;
     point->psz_name = NULL;
     return point;
 }
index 5bf29a7a9335a6e981a85f9cf177c60f5144e295..7f7e191478919c474af6a2360329cf84031754fc 100644 (file)
@@ -501,7 +501,6 @@ int virtual_chapter_c::PublishChapters( input_title_t & title, int & i_user_chap
     {
         seekpoint_t *sk = vlc_seekpoint_New();
 
-        sk->i_level = i_level;
         sk->i_time_offset = i_virtual_start_time;
         if( p_chapter )
             sk->psz_name = strdup( p_chapter->psz_name.c_str() );
@@ -534,7 +533,6 @@ int virtual_edition_c::PublishChapters( input_title_t & title, int & i_user_chap
     {
         seekpoint_t *sk = vlc_seekpoint_New();
 
-        sk->i_level = i_level;
         sk->i_time_offset = 0;
         if( p_edition )
             sk->psz_name = strdup( p_edition->psz_name.c_str() );