1
mirror of https://code.videolan.org/videolan/vlc synced 2024-07-29 11:58:24 +02:00

vout: remove vout_chrono_Clean()

This function did nothing.
This commit is contained in:
Romain Vimont 2021-06-14 16:35:34 +02:00 committed by Romain Vimont
parent 98611f6986
commit 9020b03dcc
2 changed files with 1 additions and 9 deletions

View File

@ -47,10 +47,6 @@ static inline void vout_chrono_Init(vout_chrono_t *chrono, int shift, vlc_tick_t
chrono->start = VLC_TICK_INVALID;
}
static inline void vout_chrono_Clean(vout_chrono_t *chrono)
{
VLC_UNUSED(chrono);
}
static inline void vout_chrono_Start(vout_chrono_t *chrono)
{
chrono->start = vlc_tick_now();
@ -83,9 +79,7 @@ static inline void vout_chrono_Stop(vout_chrono_t *chrono)
}
static inline void vout_chrono_Reset(vout_chrono_t *chrono)
{
vout_chrono_t ch = *chrono;
vout_chrono_Clean(chrono);
vout_chrono_Init(chrono, ch.shift, ch.avg_initial);
vout_chrono_Init(chrono, chrono->shift, chrono->avg_initial);
}
#endif

View File

@ -1911,8 +1911,6 @@ void vout_Close(vout_thread_t *vout)
vout_IntfDeinit(VLC_OBJECT(vout));
vout_snapshot_End(sys->snapshot);
vout_chrono_Clean(&sys->render);
vout_chrono_Clean(&sys->static_filter);
if (sys->spu)
spu_Destroy(sys->spu);