trivial endianness fix

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8741 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
colin 2003-01-03 14:51:49 +00:00
parent 54eac2e3cf
commit 9b483e615e
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}