[Mplayer-cvslog] CVS: main/libao2 pl_resample.c,1.10,1.11

Colin Leroy CVS colin at mplayerhq.hu
Fri Jan 3 15:51:52 CET 2003


Update of /cvsroot/mplayer/main/libao2
In directory mail:/var/tmp.root/cvs-serv27666/libao2

Modified Files:
	pl_resample.c 
Log Message:
trivial endianness fix


Index: pl_resample.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/pl_resample.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- pl_resample.c	14 Dec 2002 17:55:48 -0000	1.10
+++ pl_resample.c	3 Jan 2003 14:51:49 -0000	1.11
@@ -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;
   }



More information about the MPlayer-cvslog mailing list