Commit e2518c90 authored by Sam Hocevar's avatar Sam Hocevar

* ./plugins/mad/mad_libmad.c: prevent the MAD decoder from looping endlessly

    when the audio output fifo could not be created.
parent c33cab35
......@@ -297,7 +297,7 @@ enum mad_flow libmad_output(void *data, struct mad_header const *p_libmad_header
if ( p_mad_adec->p_aout_fifo == NULL )
{
return( -1 );
return MAD_FLOW_BREAK;
}
msg_Dbg( p_mad_adec->p_fifo, "aout fifo created");
......
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