summaryrefslogtreecommitdiffstats
path: root/libaf/af_mp.c
diff options
context:
space:
mode:
authoranders <anders@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-14 02:52:10 +0000
committeranders <anders@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-14 02:52:10 +0000
commit8b1556ed6d4051deae295ec553aa3c5408f67036 (patch)
tree77233d18043d537697737ef8b2ee43d5e07f3ab5 /libaf/af_mp.c
parent1b423dd8a565efd9bd13588a66381a7f42767e0a (diff)
downloadmpv-8b1556ed6d4051deae295ec553aa3c5408f67036.tar.bz2
mpv-8b1556ed6d4051deae295ec553aa3c5408f67036.tar.xz
Fix for endianess conversion if input to libaf is float
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8953 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libaf/af_mp.c')
-rw-r--r--libaf/af_mp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libaf/af_mp.c b/libaf/af_mp.c
index ea7cbcbe87..0ad0f6570e 100644
--- a/libaf/af_mp.c
+++ b/libaf/af_mp.c
@@ -33,7 +33,7 @@ int af_format_decode(int ifmt)
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);