Commit 440388e0 authored by Sam Hocevar's avatar Sam Hocevar

* src/audio_output/common.c: added error message upon invalid initialisation.

parent 9fa56982
......@@ -424,6 +424,11 @@ 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 )
{
if( i_divider == 0 )
{
msg_Err( p_aout, "initialising date with zero divider" );
}
p_date->date = 0;
p_date->i_divider = i_divider;
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