[vlc-commits] commit: WAV Mux: kill warnings (Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Sat Jun 26 23:21:06 CEST 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Jun 26 23:20:40 2010 +0200| [5e0b1e9370c984bddf6c8a97726a5c973f4e114d] | committer: Jean-Baptiste Kempf 

WAV Mux: kill warnings

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

 modules/mux/wav.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/mux/wav.c b/modules/mux/wav.c
index b7c8c15..6c43264 100644
--- a/modules/mux/wav.c
+++ b/modules/mux/wav.c
@@ -164,7 +164,8 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
     GUID subformat_guid = {0, 0, 0x10,{0x80, 0, 0, 0xaa, 0, 0x38, 0x9b, 0x71}};
     sout_mux_sys_t *p_sys = p_mux->p_sys;
     WAVEFORMATEX *p_waveformat = &p_sys->waveformat.Format;
-    int i_bytes_per_sample, i_format;
+    int i_bytes_per_sample;
+    uint16_t i_format;
     bool b_ext;
 
     if( p_input->p_fmt->i_cat != AUDIO_ES )



More information about the vlc-commits mailing list