OSDN Git Service

Detect byte-swapped AC-3 and support decoding it directly.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Tue, 22 Mar 2011 18:22:07 +0000 (14:22 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Tue, 22 Mar 2011 19:36:47 +0000 (15:36 -0400)
commit4c886d613df8b217c6d62cb2c94e88f848177b23
treea5028e8aac64421591bda1f73dbb78bcda33a58d
parent40728b5169f23a6420b3d9758f485fd2cd99050d
Detect byte-swapped AC-3 and support decoding it directly.

This allows the AC-3 decoder to be used directly with RealMedia
decoders that unlike the libavformat one do not byte-swap automatically.
Since the new code is only used in case we would fail directly otherwise
there should be no risk for regressions.
libavcodec/ac3dec.c