[vlc-commits] simple mixer: remove no-op

Rémi Denis-Courmont git at videolan.org
Sun Sep 7 13:12:41 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Sep  7 13:28:54 2014 +0300| [f1d743d52eed1ea5ff9cb3649cb7ed9942d7a52a] | committer: Rémi Denis-Courmont

simple mixer: remove no-op

The core ensures that i_codec and audio.i_format are equal.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f1d743d52eed1ea5ff9cb3649cb7ed9942d7a52a
---

 modules/audio_filter/channel_mixer/simple.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/modules/audio_filter/channel_mixer/simple.c b/modules/audio_filter/channel_mixer/simple.c
index a17d3f7..ad3b350 100644
--- a/modules/audio_filter/channel_mixer/simple.c
+++ b/modules/audio_filter/channel_mixer/simple.c
@@ -332,9 +332,6 @@ static int OpenFilter( vlc_object_t *p_this )
     audio_format_t fmt_in  = p_filter->fmt_in.audio;
     audio_format_t fmt_out = p_filter->fmt_out.audio;
 
-    fmt_in.i_format = p_filter->fmt_in.i_codec;
-    fmt_out.i_format = p_filter->fmt_out.i_codec;
-
     if( !IsSupported( &fmt_in, &fmt_out ) )
         return VLC_EGENERIC;
 



More information about the vlc-commits mailing list