1
mirror of https://code.videolan.org/videolan/vlc synced 2024-10-03 01:31:53 +02:00

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

when the audio output fifo could not be created.
This commit is contained in:
Sam Hocevar 2002-07-11 19:44:10 +00:00
parent c33cab3572
commit e2518c9090

View File

@ -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");