summaryrefslogtreecommitdiff
path: root/recordmydesktop/src/rmd_cache_audio.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-07-01 19:42:17 -0700
committerVito Caputo <vcaputo@pengaru.com>2020-07-11 13:36:41 -0700
commitbbd22c084923065a74e8aae774eb0e4e611454cd (patch)
treef006749cf5eca710cf5670682b8f689732fda42b /recordmydesktop/src/rmd_cache_audio.c
parent03d4c4f006bc16594b10f05a64e1c542eba9e327 (diff)
*: more random cleanups mostly formatting
nothing functionally different
Diffstat (limited to 'recordmydesktop/src/rmd_cache_audio.c')
-rw-r--r--recordmydesktop/src/rmd_cache_audio.c4
1 files changed, 2 insertions, 2 deletions
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)
© All Rights Reserved