aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar colin <colin@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-03 14:51:49 +0000
committerGravatar colin <colin@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-03 14:51:49 +0000
commit9b483e615ea6f955265436fe9c478da1013139fd (patch)
tree46a57250ecfada646d32bb5dc769dbb1b7a7b065
parent54eac2e3cfb2e53197d9a5b625b8df72da3ece2d (diff)
trivial endianness fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8741 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libao2/pl_resample.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libao2/pl_resample.c b/libao2/pl_resample.c
index 11060ab530..039f50ac66 100644
--- a/libao2/pl_resample.c
+++ b/libao2/pl_resample.c
@@ -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;
}