aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-03-02 16:27:57 -0500
committerReinhard Tartler <siretart@tauware.de>2012-03-04 21:26:29 +0100
commit6a073aa7a734d4fbad77071e9f8ee0fe75a17fae (patch)
tree9365b24b410f2ed0820201718e333a0f4b9c9ec5 /tests/ref
parent073891e8758d5b4ed9034b340fa24c687792e8f6 (diff)
downloadffmpeg-6a073aa7a734d4fbad77071e9f8ee0fe75a17fae.tar.gz
wmaenc: limit allowed sample rate to 48kHz
ff_wma_init() allows up to 50kHz, but this generates an exponent band size table that requires 65 bands. The code assumes 25 bands in many places, and using sample rates higher than 48kHz will lead to buffer overwrites. CC:libav-stable@libav.org (cherry picked from commit 1ec075cfecac01f9a289965db06f76365b0b1737) Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Diffstat (limited to 'tests/ref')
0 files changed, 0 insertions, 0 deletions