Commit c7e24bbe authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Rémi Denis-Courmont

mono: Specify the expected format rather than failing

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 3e6cd947
......@@ -347,13 +347,8 @@ static int OpenFilter( vlc_object_t *p_this )
return VLC_EGENERIC;
}
if( (p_filter->fmt_in.audio.i_format != p_filter->fmt_out.audio.i_format) ||
(p_filter->fmt_in.audio.i_format != VLC_CODEC_S16N) ||
(p_filter->fmt_out.audio.i_format != VLC_CODEC_S16N) )
{
/*msg_Err( p_this, "couldn't load mono filter" );*/
return VLC_EGENERIC;
}
p_filter->fmt_in.audio.i_format = VLC_CODEC_S16N;
p_filter->fmt_out.audio.i_format = VLC_CODEC_S16N;
/* Allocate the memory needed to store the module's structure */
p_sys = p_filter->p_sys = malloc( sizeof(filter_sys_t) );
......
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