Mercurial > mplayer.hg
changeset 29095:3afe8b737f43
Use native endian float filter provided by libbs2b instead of
selection based on WORDS_ENDIAN.
author | bircoph |
---|---|
date | Thu, 02 Apr 2009 20:49:47 +0000 |
parents | 8a2fbe78b1f9 |
children | d29b96d8e240 |
files | libaf/af_bs2b.c |
diffstat | 1 files changed, 2 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/libaf/af_bs2b.c Thu Apr 02 19:02:59 2009 +0000 +++ b/libaf/af_bs2b.c Thu Apr 02 20:49:47 2009 +0000 @@ -45,6 +45,7 @@ return data; \ } +PLAY(f,float) PLAY(fbe,float) PLAY(fle,float) PLAY(s32be,int32_t) @@ -132,11 +133,7 @@ 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;