[Mplayer-cvslog] CVS: main/libaf af_mp.c,1.2,1.3

Anders Johansson CVS anders at mplayerhq.hu
Tue Jan 14 03:52:28 CET 2003


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

Modified Files:
	af_mp.c 
Log Message:
Fix for endianess conversion if input to libaf is float

Index: af_mp.c
===================================================================
RCS file: /cvsroot/mplayer/main/libaf/af_mp.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- af_mp.c	19 Nov 2002 00:42:00 -0000	1.2
+++ af_mp.c	14 Jan 2003 02:52:10 -0000	1.3
@@ -33,7 +33,7 @@
   case(AFMT_AC3):
     ofmt = AF_FORMAT_AC3; break;
   case(AFMT_FLOAT):
-    ofmt = AF_FORMAT_F; break;
+    ofmt = AF_FORMAT_F | AF_FORMAT_NE; break;
   default: 
     //This can not happen .... 
     af_msg(AF_MSG_FATAL,"Unrecognized input audio format %i\n",ifmt);



More information about the MPlayer-cvslog mailing list