summaryrefslogtreecommitdiff
path: root/src/rmd_encode_audio_buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rmd_encode_audio_buffer.c')
-rw-r--r--src/rmd_encode_audio_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rmd_encode_audio_buffer.c b/src/rmd_encode_audio_buffer.c
index 4e20a1c..db4629f 100644
--- a/src/rmd_encode_audio_buffer.c
+++ b/src/rmd_encode_audio_buffer.c
@@ -175,5 +175,5 @@ void rmdSyncEncodeAudioBuffer(ProgData *pdata, signed char *buff)
if (!pdata->running)
pdata->enc_data->m_ogg_vs.e_o_s = 1;
- pdata->avd -= pdata->periodtime;
+ pdata->avd -= pdata->periodtime_us;
}
© All Rights Reserved