mirror of
https://github.com/mpv-player/mpv
synced 2025-05-05 11:56:19 +02:00
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:
|
case AFMT_U8:
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
#ifdef WORDS_BIGENDIAN
|
|
||||||
format=AFMT_S16_BE;
|
|
||||||
#else
|
|
||||||
format=AFMT_S16_LE;
|
format=AFMT_S16_LE;
|
||||||
#endif
|
|
||||||
bits=16;
|
bits=16;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user