aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/bethsoftvid.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-01-19 00:06:03 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-01-21 05:29:47 +0100
commit99a42f3fa95aa68f6c945e98e043d69e541d93cc (patch)
tree438cc910521b3d5484763a4a3dbfbc5ce83debc1 /libavformat/bethsoftvid.c
parent9ec39937f9c7f28a2279a19f71f290d8161eb52f (diff)
downloadffmpeg-99a42f3fa95aa68f6c945e98e043d69e541d93cc.tar.gz
ac3dec: Move center&surround mix level tables to parser.
That way all mix levels as exported by the parser will have the same meaning. 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. Idea-by: Justin Ruggles <justin.ruggles@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/bethsoftvid.c')
0 files changed, 0 insertions, 0 deletions