• Justin Ruggles's avatar
    wmaenc: limit allowed sample rate to 48kHz · 1ec075cf
    Justin Ruggles authored
    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
    1ec075cf
wmaenc.c 13.5 KB