summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-05-17 10:04:26 -0600
committerJohn Stebbins <[email protected]>2016-05-17 10:04:26 -0600
commitfd0c4626a9eb9074ee3e426ce48256a52b2f7362 (patch)
tree87a777dea62191be7f984607365ddf71c11eacf2
parent8f27a80cf79da2ae23f3432779fb5582716d5b98 (diff)
demux: cosmetics
-rw-r--r--libhb/demuxmpeg.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/libhb/demuxmpeg.c b/libhb/demuxmpeg.c
index dea356e36..e8cbe3237 100644
--- a/libhb/demuxmpeg.c
+++ b/libhb/demuxmpeg.c
@@ -71,7 +71,8 @@ static inline void restore_chap( hb_psdemux_t *state, hb_buffer_t *buf )
/* Basic MPEG demuxer */
-static void demux_dvd_ps( hb_buffer_t * buf, hb_buffer_list_t * list_es, hb_psdemux_t* state )
+static void demux_dvd_ps( hb_buffer_t * buf, hb_buffer_list_t * list_es,
+ hb_psdemux_t* state )
{
hb_buffer_t * buf_es;
int pos = 0;
@@ -248,8 +249,8 @@ static void demux_dvd_ps( hb_buffer_t * buf, hb_buffer_list_t * list_es, hb_psde
// stripped off and buf has all the info gleaned from them: id is set,
// start contains the pts (if any), renderOffset contains the dts (if any)
// and stop contains the pcr (if it changed).
-static void demux_mpeg(hb_buffer_t *buf, hb_buffer_list_t *list_es,
- hb_psdemux_t *state, int tolerance)
+static void demux_mpeg( hb_buffer_t *buf, hb_buffer_list_t *list_es,
+ hb_psdemux_t *state, int tolerance )
{
while ( buf )
{
@@ -347,14 +348,16 @@ static void demux_mpeg(hb_buffer_t *buf, hb_buffer_list_t *list_es,
}
}
-static void demux_ts(hb_buffer_t *buf, hb_buffer_list_t *list_es, hb_psdemux_t *state)
+static void demux_ts( hb_buffer_t *buf, hb_buffer_list_t *list_es,
+ hb_psdemux_t *state )
{
// Distance between PCRs in TS is up to 100ms, but we have seen
// streams that exceed this, so allow up to 300ms.
demux_mpeg(buf, list_es, state, 300);
}
-static void demux_ps(hb_buffer_t *buf, hb_buffer_list_t *list_es, hb_psdemux_t *state)
+static void demux_ps( hb_buffer_t *buf, hb_buffer_list_t *list_es,
+ hb_psdemux_t *state )
{
// Distance between SCRs in PS is up to 700ms
demux_mpeg(buf, list_es, state, 700);
@@ -363,7 +366,8 @@ static void demux_ps(hb_buffer_t *buf, hb_buffer_list_t *list_es, hb_psdemux_t *
// "null" demuxer (makes a copy of input buf & returns it in list)
// used when the reader for some format includes its own demuxer.
// for example, ffmpeg.
-static void demux_null( hb_buffer_t * buf, hb_buffer_list_t * list_es, hb_psdemux_t* state )
+static void demux_null( hb_buffer_t * buf, hb_buffer_list_t * list_es,
+ hb_psdemux_t* state )
{
while ( buf )
{