Commit 6372f8fa authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Fix/workaround for #1633 (input rate not set)

Someone still needs to fix this properly though...
parent 6465bbf7
......@@ -310,8 +310,14 @@ int aout_DecPlay( aout_instance_t * p_aout, aout_input_t * p_input,
if( i_input_rate > INPUT_RATE_DEFAULT * AOUT_MAX_INPUT_RATE ||
i_input_rate < INPUT_RATE_DEFAULT / AOUT_MAX_INPUT_RATE )
{
#ifndef FIXME
msg_Err( p_aout, "FIXME invalid input rate (%u/%u)", i_input_rate,
INPUT_RATE_DEFAULT );
i_input_rate = INPUT_RATE_DEFAULT;
#else
aout_BufferFree( p_buffer );
return 0;
#endif
}
/* Apply the desynchronisation requested by the user */
......
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