aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ivi_common.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-03-02 16:27:57 -0500
committerJustin Ruggles <justin.ruggles@gmail.com>2012-03-03 18:20:10 -0500
commit1ec075cfecac01f9a289965db06f76365b0b1737 (patch)
tree41329bcda18f3fa635aeaa8a3f6a91f4b45adcf7 /libavcodec/ivi_common.c
parentc2b8dea1828f35c808adcf12615893d5c740bc0a (diff)
downloadffmpeg-1ec075cfecac01f9a289965db06f76365b0b1737.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
Diffstat (limited to 'libavcodec/ivi_common.c')
0 files changed, 0 insertions, 0 deletions