changeset 8740:cd67631ae382

trivial endianness fix
author colin
date Fri, 03 Jan 2003 14:51:49 +0000
parents 66f3204117d6
children 46d21c0f36aa
files libao2/pl_resample.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/pl_resample.c	Fri Jan 03 14:49:02 2003 +0000
+++ b/libao2/pl_resample.c	Fri Jan 03 14:51:49 2003 +0000
@@ -120,7 +120,11 @@
   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;
   }