summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-10-22 01:01:07 +0200
committerwm4 <wm4@nowhere>2013-10-22 01:01:07 +0200
commitbb5fe4d874e2eded092e47812aea0e52ce1fa6cb (patch)
tree3893504d222406e2f5e6201ec3d08ec3255ffa89
parentda6093a5a109e2949bb27c63aae93bf64bcdefad (diff)
downloadmpv-bb5fe4d874e2eded092e47812aea0e52ce1fa6cb.tar.bz2
mpv-bb5fe4d874e2eded092e47812aea0e52ce1fa6cb.tar.xz
ao_pcm: big endian AC3 in wav doesn't work
At least not with ffmpeg. Honestly, I have no idea how little endian AC3 works at all, since ao_pcm doesn't do anything special about it, and treats it like s16le. Maybe it's broken and ffmpeg has special logic to detect it.
-rw-r--r--audio/out/ao_pcm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/audio/out/ao_pcm.c b/audio/out/ao_pcm.c
index b1e3a79708..7b5bc3e3dc 100644
--- a/audio/out/ao_pcm.c
+++ b/audio/out/ao_pcm.c
@@ -125,7 +125,6 @@ static int init(struct ao *ao)
case AF_FORMAT_S24_LE:
case AF_FORMAT_S32_LE:
case AF_FORMAT_FLOAT_LE:
- case AF_FORMAT_AC3_BE:
case AF_FORMAT_AC3_LE:
break;
default: