mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
173108eadf
commit
e5fd9702fd
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue