wmaenc: require a large enough output buffer to prevent overwrites
authorJustin Ruggles <justin.ruggles@gmail.com>
Fri, 2 Mar 2012 21:33:33 +0000 (16:33 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Sat, 3 Mar 2012 23:20:10 +0000 (18:20 -0500)
commitdfc4fdedf8cfc56a505579b1f2c1c5efbce4b97e
tree4c56b045ad9321d8ee077ce7ec069d7ed704d3e6
parent1ec075cfecac01f9a289965db06f76365b0b1737
wmaenc: require a large enough output buffer to prevent overwrites

The maximum theoretical frame size is around 17000 bytes. Although in
practice it will generally be much smaller, we require a larger buffer
just to be safe.

CC: libav-stable@libav.org
libavcodec/wmaenc.c