Commit 5351f2c6 authored by Sam Hocevar's avatar Sam Hocevar

* src/audio_output/common.c: moved message around so that it compiles.

parent 440388e0
...@@ -294,6 +294,11 @@ void aout_FormatsPrint( aout_instance_t * p_aout, const char * psz_text, ...@@ -294,6 +294,11 @@ void aout_FormatsPrint( aout_instance_t * p_aout, const char * psz_text,
void aout_FifoInit( aout_instance_t * p_aout, aout_fifo_t * p_fifo, void aout_FifoInit( aout_instance_t * p_aout, aout_fifo_t * p_fifo,
uint32_t i_rate ) uint32_t i_rate )
{ {
if( i_rate == 0 )
{
msg_Err( p_aout, "initialising fifo with zero divider" );
}
p_fifo->p_first = NULL; p_fifo->p_first = NULL;
p_fifo->pp_last = &p_fifo->p_first; p_fifo->pp_last = &p_fifo->p_first;
aout_DateInit( &p_fifo->end_date, i_rate ); aout_DateInit( &p_fifo->end_date, i_rate );
...@@ -424,11 +429,6 @@ void aout_FifoDestroy( aout_instance_t * p_aout, aout_fifo_t * p_fifo ) ...@@ -424,11 +429,6 @@ void aout_FifoDestroy( aout_instance_t * p_aout, aout_fifo_t * p_fifo )
*****************************************************************************/ *****************************************************************************/
void aout_DateInit( audio_date_t * p_date, uint32_t i_divider ) void aout_DateInit( audio_date_t * p_date, uint32_t i_divider )
{ {
if( i_divider == 0 )
{
msg_Err( p_aout, "initialising date with zero divider" );
}
p_date->date = 0; p_date->date = 0;
p_date->i_divider = i_divider; p_date->i_divider = i_divider;
p_date->i_remainder = 0; p_date->i_remainder = 0;
......
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