Commit 6e8a6d28 authored by Rafaël Carré's avatar Rafaël Carré

DecoderFixTs: deindent, cosmetics

parent 6eeeda91
...@@ -1082,8 +1082,9 @@ static void DecoderFixTs( decoder_t *p_dec, mtime_t *pi_ts0, mtime_t *pi_ts1, ...@@ -1082,8 +1082,9 @@ static void DecoderFixTs( decoder_t *p_dec, mtime_t *pi_ts0, mtime_t *pi_ts1,
const mtime_t i_es_delay = p_owner->i_ts_delay; const mtime_t i_es_delay = p_owner->i_ts_delay;
if( p_clock ) if( !p_clock )
{ return;
const bool b_ephemere = pi_ts1 && *pi_ts0 == *pi_ts1; const bool b_ephemere = pi_ts1 && *pi_ts0 == *pi_ts1;
int i_rate; int i_rate;
...@@ -1105,12 +1106,11 @@ static void DecoderFixTs( decoder_t *p_dec, mtime_t *pi_ts0, mtime_t *pi_ts1, ...@@ -1105,12 +1106,11 @@ static void DecoderFixTs( decoder_t *p_dec, mtime_t *pi_ts0, mtime_t *pi_ts1,
*pi_ts1 += 1; *pi_ts1 += 1;
if( pi_duration ) if( pi_duration )
*pi_duration = ( *pi_duration * i_rate + *pi_duration = ( *pi_duration * i_rate + INPUT_RATE_DEFAULT-1 )
INPUT_RATE_DEFAULT-1 ) / INPUT_RATE_DEFAULT; / INPUT_RATE_DEFAULT;
if( pi_rate ) if( pi_rate )
*pi_rate = i_rate; *pi_rate = i_rate;
}
} }
static bool DecoderIsExitRequested( decoder_t *p_dec ) static bool DecoderIsExitRequested( decoder_t *p_dec )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment