summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcolin <colin@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-02 21:54:08 +0000
committercolin <colin@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-02 21:54:08 +0000
commite5fd9702fd2582fef290430a64de36020baf1215 (patch)
treecedb05b32bc87b9d5b5b85edfcf9b585b4f61827
parent173108eadfa760bb59d277c0feb7236266978ce0 (diff)
downloadmpv-e5fd9702fd2582fef290430a64de36020baf1215.tar.bz2
mpv-e5fd9702fd2582fef290430a64de36020baf1215.tar.xz
fix endianness issue on bigendian (let libaf do the conversion ;))
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8061 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libao2/ao_pcm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libao2/ao_pcm.c b/libao2/ao_pcm.c
index ff112706b2..ae7490d74f 100644
--- a/libao2/ao_pcm.c
+++ b/libao2/ao_pcm.c
@@ -92,11 +92,7 @@ static int init(int rate,int channels,int format,int flags){
case AFMT_U8:
break;
default:
-#ifdef WORDS_BIGENDIAN
- format=AFMT_S16_BE;
-#else
format=AFMT_S16_LE;
-#endif
bits=16;
break;
}