summaryrefslogtreecommitdiff
path: root/src/rmd_encode_image_buffer.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-10-08 01:29:12 -0700
committerVito Caputo <vcaputo@pengaru.com>2020-10-08 01:29:12 -0700
commita031634bd64c7f30c4ace5ca06a5a47600b42f47 (patch)
tree919e13ed1ba2e6443fe952288085576322748405 /src/rmd_encode_image_buffer.c
parentbd53002a2bf51d48992613601719d180fed09975 (diff)
*: more cosmetic formatting cleanups
Making things a bit more consistent
Diffstat (limited to 'src/rmd_encode_image_buffer.c')
-rw-r--r--src/rmd_encode_image_buffer.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/rmd_encode_image_buffer.c b/src/rmd_encode_image_buffer.c
index bfb3888..cc819aa 100644
--- a/src/rmd_encode_image_buffer.c
+++ b/src/rmd_encode_image_buffer.c
@@ -33,7 +33,8 @@
#include <errno.h>
-void *rmdEncodeImageBuffer(ProgData *pdata) {
+void *rmdEncodeImageBuffer(ProgData *pdata)
+{
unsigned int encode_frameno = 0, last_encode_frameno = 0;
rmdThreadsSetName("rmdEncodeImages");
@@ -91,7 +92,8 @@ void *rmdEncodeImageBuffer(ProgData *pdata) {
//this function is meant to be called normally
//not through a thread of it's own
-void rmdSyncEncodeImageBuffer(ProgData *pdata, unsigned int n_frames) {
+void rmdSyncEncodeImageBuffer(ProgData *pdata, unsigned int n_frames)
+{
EncData *enc_data = pdata->enc_data;
if (theora_encode_YUVin(&enc_data->m_th_st, &enc_data->yuv)) {
© All Rights Reserved