[MPlayer-cvslog] r30284 - trunk/libao2/ao_coreaudio.c
reimar
subversion at mplayerhq.hu
Mon Jan 11 21:29:34 CET 2010
Author: reimar
Date: Mon Jan 11 21:29:33 2010
New Revision: 30284
Log:
MPlayer's format now correctly identifies AC3 as either little- or big-endian,
remove unnecessary special workaround.
Modified:
trunk/libao2/ao_coreaudio.c
Modified: trunk/libao2/ao_coreaudio.c
==============================================================================
--- trunk/libao2/ao_coreaudio.c Mon Jan 11 21:27:52 2010 (r30283)
+++ trunk/libao2/ao_coreaudio.c Mon Jan 11 21:29:33 2010 (r30284)
@@ -328,13 +328,7 @@ int b_alive;
// unsigned int
inDesc.mFormatFlags = kAudioFormatFlagIsPacked;
}
- if (AF_FORMAT_IS_AC3(format)) {
- // Currently ac3 input (comes from hwac3) is always in native byte-order.
-#if HAVE_BIGENDIAN
- inDesc.mFormatFlags |= kAudioFormatFlagIsBigEndian;
-#endif
- }
- else if ((format & AF_FORMAT_END_MASK) == AF_FORMAT_BE)
+ if ((format & AF_FORMAT_END_MASK) == AF_FORMAT_BE)
inDesc.mFormatFlags |= kAudioFormatFlagIsBigEndian;
inDesc.mFramesPerPacket = 1;
More information about the MPlayer-cvslog
mailing list