mirror of https://github.com/mpv-player/mpv
trivial endianness fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8741 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
54eac2e3cf
commit
9b483e615e
|
@ -120,7 +120,11 @@ static int init(){
|
|||
pl_resample.up=UP;
|
||||
|
||||
// Sheck input format
|
||||
#ifndef WORDS_BIGENDIAN
|
||||
if(ao_plugin_data.format != AFMT_S16_LE){
|
||||
#else
|
||||
if(ao_plugin_data.format != AFMT_S16_BE){
|
||||
#endif
|
||||
fprintf(stderr,"[pl_resample] Input audio format not yet suported. \n");
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue