# HG changeset patch # User colin # Date 1041605509 0 # Node ID cd67631ae382e115c905da482f31d33c22ca57cc # Parent 66f3204117d63d98ea02d4172143dad784dbde1b trivial endianness fix diff -r 66f3204117d6 -r cd67631ae382 libao2/pl_resample.c --- 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; }