[FFmpeg-devel] [PATCH] ac3dec: fix center_mix_level handling.

Michael Niedermayer michaelni at gmx.at
Thu Jan 19 06:53:18 CET 2012

On Thu, Jan 19, 2012 at 12:39:54AM +0100, Michael Niedermayer wrote:
> Previously the 3bit center mix level for eac3 was
> used to index in a 4 entry table leading to out of array reads.
> this change removes the table and offsets the ac3 variable by 4
> so it matches the meanings for eac3 except the reserved case.
> The reserved case is then explicitly handled.
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

patch superseded by "[PATCH] ac3dec: Move center&surround mix level tables to parser."


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120119/5d28f141/attachment.asc>

More information about the ffmpeg-devel mailing list