<html><head></head><body><div class="gmail_quote">Le 7 juillet 2017 16:39:50 GMT+03:00, Thomas Guillem <thomas@gllm.fr> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">---<br /> modules/audio_filter/resampler/speex.c | 3 ++-<br /> 1 file changed, 2 insertions(+), 1 deletion(-)<br /><br />diff --git a/modules/audio_filter/resampler/speex.c b/modules/audio_filter/resampler/speex.c<br />index ee37ea95d9..bdb32e4240 100644<br />--- a/modules/audio_filter/resampler/speex.c<br />+++ b/modules/audio_filter/resampler/speex.c<br />@@ -68,7 +68,8 @@ static int OpenResampler (vlc_object_t *obj)<br /> || filter->fmt_<a href="http://in.audio">in.audio</a>.i_physical_channels<br /> != filter->fmt_<a href="http://out.audio">out.audio</a>.i_physical_channels<br /> || filter->fmt_<a href="http://in.audio">in.audio</a>.i_original_channels<br />- != filter->fmt_<a href="http://out.audio">out.audio</a>.i_original_channels)<br />+ != filter->fmt_<a href="http://out.audio">out.audio</a>.i_original_channels<br />+ || filter->fmt_<a href="http://in.audio">in.audio</a>.i_physical_channels == 0 )<br /> return VLC_EGENERIC;<br /> <br /> switch (filter->fmt_<a href="http://in.audio">in.audio</a>.i_format)</pre></blockquote></div><br clear="all">I don't think speex-dsp cares about the channel layout.<br>
-- <br>
Rémi Denis-Courmont<br>
Typed on an inconvenient virtual keyboard</body></html>