[vlc-commits] mad: remove no-op

Rémi Denis-Courmont git at videolan.org
Thu Mar 20 21:13:56 CET 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Mar 20 22:06:25 2014 +0200| [b1123693cdfca216b5fd7ecd1fee17e474f3b802] | committer: Rémi Denis-Courmont

mad: remove no-op

Those values are already set by the caller function.

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

 modules/audio_filter/converter/mpgatofixed32.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/modules/audio_filter/converter/mpgatofixed32.c b/modules/audio_filter/converter/mpgatofixed32.c
index 34714e8..261420a 100644
--- a/modules/audio_filter/converter/mpgatofixed32.c
+++ b/modules/audio_filter/converter/mpgatofixed32.c
@@ -86,10 +86,6 @@ static void DoWork( filter_t * p_filter,
 {
     filter_sys_t *p_sys = p_filter->p_sys;
 
-    p_out_buf->i_nb_samples = p_in_buf->i_nb_samples;
-    p_out_buf->i_buffer = p_in_buf->i_nb_samples * sizeof(float) *
-                               aout_FormatNbChannels( &p_filter->fmt_out.audio );
-
     /* Do the actual decoding now. */
     mad_stream_buffer( &p_sys->mad_stream, p_in_buf->p_buffer,
                        p_in_buf->i_buffer );



More information about the vlc-commits mailing list