summaryrefslogtreecommitdiff
path: root/src/rmd_encode_cache.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2021-04-28 19:28:14 -0700
committerVito Caputo <vcaputo@pengaru.com>2021-04-28 19:28:14 -0700
commit3812a302cefcccbeb9bc46ed5c55710eb4c0512e (patch)
tree0699a192560cd2e9d50a363a1929af7f794ed43c /src/rmd_encode_cache.h
parent64eed5bc02c0a4e09423aa67f118a2a7c8bc69b0 (diff)
encode_cache: handle pthread_create() errors
switch to using rmdThread() and handle errors previously pthread_create() errors were completely unnoticed
Diffstat (limited to 'src/rmd_encode_cache.h')
-rw-r--r--src/rmd_encode_cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rmd_encode_cache.h b/src/rmd_encode_cache.h
index 4c37f97..f1078c1 100644
--- a/src/rmd_encode_cache.h
+++ b/src/rmd_encode_cache.h
@@ -35,7 +35,7 @@
* ogg stream.
* \param pdata ProgData struct containing all program data
*/
-void rmdEncodeCache(ProgData *pdata);
+int rmdEncodeCache(ProgData *pdata);
#endif
© All Rights Reserved