changeset 8952:2369087bb777

Fix for endianess conversion if input to libaf is float
author anders
date Tue, 14 Jan 2003 02:52:10 +0000
parents d2b23c6d5029
children 1ebf4c3ab032
files libaf/af_mp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libaf/af_mp.c	Tue Jan 14 00:03:10 2003 +0000
+++ b/libaf/af_mp.c	Tue Jan 14 02:52:10 2003 +0000
@@ -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);