Commit 7df1090a authored by Tobias Güntner's avatar Tobias Güntner Committed by Jean-Baptiste Kempf

Remove unused struct member

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent be5567ca
...@@ -83,7 +83,6 @@ struct seekpoint_t ...@@ -83,7 +83,6 @@ struct seekpoint_t
int64_t i_byte_offset; int64_t i_byte_offset;
int64_t i_time_offset; int64_t i_time_offset;
char *psz_name; char *psz_name;
int i_level;
}; };
static inline seekpoint_t *vlc_seekpoint_New( void ) static inline seekpoint_t *vlc_seekpoint_New( void )
...@@ -91,7 +90,6 @@ 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 ) ); seekpoint_t *point = (seekpoint_t*)malloc( sizeof( seekpoint_t ) );
point->i_byte_offset = point->i_byte_offset =
point->i_time_offset = -1; point->i_time_offset = -1;
point->i_level = 0;
point->psz_name = NULL; point->psz_name = NULL;
return point; return point;
} }
......
...@@ -501,7 +501,6 @@ int virtual_chapter_c::PublishChapters( input_title_t & title, int & i_user_chap ...@@ -501,7 +501,6 @@ int virtual_chapter_c::PublishChapters( input_title_t & title, int & i_user_chap
{ {
seekpoint_t *sk = vlc_seekpoint_New(); seekpoint_t *sk = vlc_seekpoint_New();
sk->i_level = i_level;
sk->i_time_offset = i_virtual_start_time; sk->i_time_offset = i_virtual_start_time;
if( p_chapter ) if( p_chapter )
sk->psz_name = strdup( p_chapter->psz_name.c_str() ); 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 ...@@ -534,7 +533,6 @@ int virtual_edition_c::PublishChapters( input_title_t & title, int & i_user_chap
{ {
seekpoint_t *sk = vlc_seekpoint_New(); seekpoint_t *sk = vlc_seekpoint_New();
sk->i_level = i_level;
sk->i_time_offset = 0; sk->i_time_offset = 0;
if( p_edition ) if( p_edition )
sk->psz_name = strdup( p_edition->psz_name.c_str() ); sk->psz_name = strdup( p_edition->psz_name.c_str() );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment