[vlc-commits] OSS: blind compilation fix

Jean-Baptiste Kempf git at videolan.org
Wed Dec 19 14:52:37 CET 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Dec 19 14:52:25 2012 +0100| [b87e0b07bea8b9ccb6713afd3ba071a293bf0247] | committer: Jean-Baptiste Kempf

OSS: blind compilation fix

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

 modules/audio_output/oss.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/audio_output/oss.c b/modules/audio_output/oss.c
index b0b0b8d..4e2c6e6 100644
--- a/modules/audio_output/oss.c
+++ b/modules/audio_output/oss.c
@@ -125,7 +125,7 @@ static int Start (audio_output_t *aout, audio_sample_format_t *restrict fmt)
             format = AFMT_S32_LE;
             break;
         case VLC_CODEC_S16N:
-            format = AFMT_S16;
+            format = AFMT_S16_NE;
             break;
         case VLC_CODEC_U8:
             format = AFMT_U8;
@@ -152,7 +152,7 @@ static int Start (audio_output_t *aout, audio_sample_format_t *restrict fmt)
     switch (format)
     {
         case AFMT_U8:    fmt->i_format = VLC_CODEC_U8;   break;
-        case AFMT_S16:   fmt->i_format = VLC_CODEC_S16N; break;
+        case AFMT_S16_NE:   fmt->i_format = VLC_CODEC_S16N; break;
         //case AFMT_S24_BE:
         //case AFMT_S24_LE:
         case AFMT_S32_BE: fmt->i_format = VLC_CODEC_S32B; break;



More information about the vlc-commits mailing list