From eb24fa7656571f14d791aee5bc434aee3f049162 Mon Sep 17 00:00:00 2001 From: Laurent Aimar Date: Thu, 4 Jun 2009 23:56:03 +0200 Subject: [PATCH] Removed unused variable (logo). --- modules/video_filter/logo.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/video_filter/logo.c b/modules/video_filter/logo.c index f57056b5f6..4c1dcc1d89 100644 --- a/modules/video_filter/logo.c +++ b/modules/video_filter/logo.c @@ -651,7 +651,6 @@ struct filter_sys_t int pos, posx, posy; bool b_absolute; - mtime_t i_last_date; /* On the fly control variable */ bool b_need_update; @@ -718,8 +717,6 @@ static int CreateFilter( vlc_object_t *p_this ) p_filter->pf_sub_filter = Filter; p_sys->b_need_update = true; - p_sys->i_last_date = 0; - return VLC_SUCCESS; } @@ -772,7 +769,6 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date ) vlc_mutex_unlock( &p_logo_list->lock ); return 0; } - /* prior code tested on && p_sys->i_last_date +5000000 > date ) return 0; */ /* adjust index to the next logo */ p_logo_list->i_counter = @@ -790,7 +786,7 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date ) } p_spu->b_absolute = p_sys->b_absolute; - p_spu->i_start = p_sys->i_last_date = date; + p_spu->i_start = date; p_spu->i_stop = 0; p_spu->b_ephemer = true; -- 2.39.2