[MPlayer-cvslog] r29134 - trunk/libaf/af_bs2b.c

bircoph subversion at mplayerhq.hu
Thu Apr 2 22:49:48 CEST 2009


Author: bircoph
Date: Thu Apr  2 22:49:47 2009
New Revision: 29134

Log:
Use native endian float filter provided by libbs2b instead of
selection based on WORDS_ENDIAN.

Modified:
   trunk/libaf/af_bs2b.c

Modified: trunk/libaf/af_bs2b.c
==============================================================================
--- trunk/libaf/af_bs2b.c	Thu Apr  2 21:02:59 2009	(r29133)
+++ trunk/libaf/af_bs2b.c	Thu Apr  2 22:49:47 2009	(r29134)
@@ -45,6 +45,7 @@ static af_data_t *play_##name(struct af_
     return data; \
 }
 
+PLAY(f,float)
 PLAY(fbe,float)
 PLAY(fle,float)
 PLAY(s32be,int32_t)
@@ -132,11 +133,7 @@ static int control(struct af_instance_s 
                 af->play = play_u8;
                 break;
             default:
-#ifdef WORDS_BIGENDIAN
-                af->play = play_fbe;
-#else
-                af->play = play_fle;
-#endif //WORDS_BIGENDIAN
+                af->play = play_f;
                 af->data->format = AF_FORMAT_FLOAT_NE;
                 af->data->bps=4;
                 break;


More information about the MPlayer-cvslog mailing list