diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-03-02 16:10:00 -0500 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2012-03-04 21:26:29 +0100 |
commit | 073891e8758d5b4ed9034b340fa24c687792e8f6 (patch) | |
tree | 8bd3233cc9e34364d6a0368b112d243e58919a50 /libavcodec/mjpeg.h | |
parent | 2e341bc99af72f1ae7c9812985635cbfeeb50269 (diff) | |
download | ffmpeg-073891e8758d5b4ed9034b340fa24c687792e8f6.tar.gz |
wmaenc: limit block_align to MAX_CODED_SUPERFRAME_SIZE
This is near the theoretical limit for wma frame size and is the most that
our decoder can handle. Allowing higher bit rates will just end up padding
each frame with empty bytes.
Fixes invalid writes for avconv when using very high bit rates.
CC:libav-stable@libav.org
(cherry picked from commit c2b8dea1828f35c808adcf12615893d5c740bc0a)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Diffstat (limited to 'libavcodec/mjpeg.h')
0 files changed, 0 insertions, 0 deletions