[vlc-commits] sndio: fix format selection

Rémi Denis-Courmont git at videolan.org
Thu Feb 2 17:15:30 CET 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Feb  2 18:14:37 2012 +0200| [6eae00060d042258b4b2ebee0846de90f30dc676] | committer: Rémi Denis-Courmont

sndio: fix format selection

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

 modules/audio_output/sndio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/audio_output/sndio.c b/modules/audio_output/sndio.c
index cf11ad0..91f620d 100644
--- a/modules/audio_output/sndio.c
+++ b/modules/audio_output/sndio.c
@@ -82,7 +82,7 @@ static int Open (vlc_object_t *obj)
 
     audio_format_t f;
 
-    switch (par.bps)
+    switch (par.bits)
     {
         case 8:
             f.i_format = par.sig ? VLC_CODEC_S8 : VLC_CODEC_U8;



More information about the vlc-commits mailing list