mirror of
https://github.com/mpv-player/mpv
synced 2024-12-23 23:32:26 +00:00
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
This commit is contained in:
parent
1b423dd8a5
commit
8b1556ed6d
@ -33,7 +33,7 @@ int af_format_decode(int ifmt)
|
|||||||
case(AFMT_AC3):
|
case(AFMT_AC3):
|
||||||
ofmt = AF_FORMAT_AC3; break;
|
ofmt = AF_FORMAT_AC3; break;
|
||||||
case(AFMT_FLOAT):
|
case(AFMT_FLOAT):
|
||||||
ofmt = AF_FORMAT_F; break;
|
ofmt = AF_FORMAT_F | AF_FORMAT_NE; break;
|
||||||
default:
|
default:
|
||||||
//This can not happen ....
|
//This can not happen ....
|
||||||
af_msg(AF_MSG_FATAL,"Unrecognized input audio format %i\n",ifmt);
|
af_msg(AF_MSG_FATAL,"Unrecognized input audio format %i\n",ifmt);
|
||||||
|
Loading…
Reference in New Issue
Block a user