From bbd22c084923065a74e8aae774eb0e4e611454cd Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Wed, 1 Jul 2020 19:42:17 -0700 Subject: *: more random cleanups mostly formatting nothing functionally different --- recordmydesktop/src/rmd_cache_audio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recordmydesktop/src/rmd_cache_audio.c') diff --git a/recordmydesktop/src/rmd_cache_audio.c b/recordmydesktop/src/rmd_cache_audio.c index e3743be..5686d81 100644 --- a/recordmydesktop/src/rmd_cache_audio.c +++ b/recordmydesktop/src/rmd_cache_audio.c @@ -54,7 +54,7 @@ void *rmdCacheSoundBuffer(ProgData *pdata) { #ifdef HAVE_LIBJACK void *jackbuf = NULL; if (pdata->args.use_jack) - jackbuf=malloc(pdata->sound_framesize * pdata->jdata->buffersize); + jackbuf = malloc(pdata->sound_framesize * pdata->jdata->buffersize); #endif while (pdata->running) { @@ -72,7 +72,7 @@ void *rmdCacheSoundBuffer(ProgData *pdata) { buff = pdata->sound_buffer; if (buff) - pdata->sound_buffer = pdata->sound_buffer->next; + pdata->sound_buffer = buff->next; pthread_mutex_unlock(&pdata->sound_buffer_mutex); if (!pdata->running) -- cgit v1.2.3