[vlc-commits] sndio: fix typo in 8-bits audio handling

Rémi Denis-Courmont git at videolan.org
Mon Jan 5 15:10:48 CET 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jan  5 16:10:21 2015 +0200| [29ed18c70410534fe06318d5e1c4e5b7daebdd68] | committer: Rémi Denis-Courmont

sndio: fix typo in 8-bits audio handling

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

 modules/audio_output/sndio.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/audio_output/sndio.c b/modules/audio_output/sndio.c
index a60c309..ecc0bfd 100644
--- a/modules/audio_output/sndio.c
+++ b/modules/audio_output/sndio.c
@@ -76,7 +76,7 @@ static int Start (audio_output_t *aout, audio_sample_format_t *restrict fmt)
     struct sio_par par;
     sio_initpar (&par);
     switch (fmt->i_format) {
-    case VLC_CODEC_S8:
+    case VLC_CODEC_U8:
 	par.bits = 8;
 	par.sig = 0;
 	break;



More information about the vlc-commits mailing list