libobs: Remove set but not read variable

This commit is contained in:
Norihiro Kamae 2022-07-17 08:15:08 +09:00 committed by Ryan Foster
parent 4252c8a069
commit 4f49968f92

View File

@ -302,7 +302,6 @@ static void set_fixed_audio_buffering(struct obs_core_audio *audio,
{
struct ts_info new_ts;
size_t total_ms;
size_t ms;
int ticks;
if (audio_buffering_maxed(audio))
@ -314,7 +313,6 @@ static void set_fixed_audio_buffering(struct obs_core_audio *audio,
ticks = audio->max_buffering_ticks - audio->total_buffering_ticks;
audio->total_buffering_ticks += ticks;
ms = ticks * AUDIO_OUTPUT_FRAMES * 1000 / sample_rate;
total_ms = audio->total_buffering_ticks * AUDIO_OUTPUT_FRAMES * 1000 /
sample_rate;