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)
committerReinhard Tartler <siretart@tauware.de>
Sun, 1 Apr 2012 16:33:27 +0000 (18:33 +0200)
commitc932844882f315928688c704fd9cdcb7eee37d17
tree1e22e8bbc584a3dc9c8e6901ecc5aa0c2b3471b9
parent433aaeb2f1cf679f254f5f1c7220b4100bc89c68
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
(cherry picked from commit dfc4fdedf8cfc56a505579b1f2c1c5efbce4b97e)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavcodec/wmaenc.c