From a031634bd64c7f30c4ace5ca06a5a47600b42f47 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Thu, 8 Oct 2020 01:29:12 -0700 Subject: *: more cosmetic formatting cleanups Making things a bit more consistent --- src/rmd_flush_to_ogg.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/rmd_flush_to_ogg.c') diff --git a/src/rmd_flush_to_ogg.c b/src/rmd_flush_to_ogg.c index 100c5d1..ff5332d 100644 --- a/src/rmd_flush_to_ogg.c +++ b/src/rmd_flush_to_ogg.c @@ -45,7 +45,8 @@ //will invalidate it. But we must have pages from //both streams at every time in //order to do correct multiplexing -static void page_copy(ogg_page *new, ogg_page *old) { +static void page_copy(ogg_page *new, ogg_page *old) +{ new->header_len = old->header_len; new->header = malloc(new->header_len); @@ -57,13 +58,15 @@ static void page_copy(ogg_page *new, ogg_page *old) { } //free our copy -static void page_free(ogg_page *pg) { +static void page_free(ogg_page *pg) +{ pg->header_len = pg->body_len = 0; free(pg->header); free(pg->body); } -void *rmdFlushToOgg(ProgData *pdata) { +void *rmdFlushToOgg(ProgData *pdata) +{ int videoflag = 0, audioflag = 0; double video_bytesout = 0, audio_bytesout = 0; ogg_page videopage, //owned by libogg -- cgit v1.2.3