[vlc-commits] mpg123: prepare audio format

Thomas Guillem git at videolan.org
Mon Sep 26 17:13:32 CEST 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Sep 26 17:04:50 2016 +0200| [36b23dfd49c6fa7522674a64f5b23d0f8f786944] | committer: Thomas Guillem

mpg123: prepare audio format

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

 modules/codec/mpg123.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/codec/mpg123.c b/modules/codec/mpg123.c
index 9480bc6..e6d1bef 100644
--- a/modules/codec/mpg123.c
+++ b/modules/codec/mpg123.c
@@ -159,6 +159,7 @@ static block_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
 
     p_dec->fmt_out.audio.i_physical_channels =
         p_dec->fmt_out.audio.i_original_channels & AOUT_CHAN_PHYSMASK;
+    aout_FormatPrepare( &p_dec->fmt_out.audio );
 
     /* Date management */
     if( p_dec->fmt_out.audio.i_rate != p_sys->frame_info.rate )



More information about the vlc-commits mailing list