[vlc-commits] sndio: fix typo in 8-bits audio handling
Rémi Denis-Courmont
git at videolan.org
Thu Jan 22 15:49:36 CET 2015
vlc/vlc-2.2 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jan 5 16:10:21 2015 +0200| [3fb6865de16dc8fa2ec7c952cf0f8f962d15c676] | committer: Jean-Baptiste Kempf
sndio: fix typo in 8-bits audio handling
(cherry picked from commit 29ed18c70410534fe06318d5e1c4e5b7daebdd68)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=3fb6865de16dc8fa2ec7c952cf0f8f962d15c676
---
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