diff options
Diffstat (limited to 'src/rmd_encode_image_buffer.c')
-rw-r--r-- | src/rmd_encode_image_buffer.c | 6 |
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)) { |