diff options
author | Alex Converse <alex.converse@gmail.com> | 2012-01-24 18:43:43 -0800 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2012-02-26 10:03:15 +0100 |
commit | ad0ee682b3cf663eb319020086f64da11d17dd82 (patch) | |
tree | 6e41bdb6fec4251758a3e9b28b507c6a51b42c03 /libswscale/yuv2rgb.c | |
parent | ba418ad4005a2cc2f18cdfa089d0bcd55225b30e (diff) | |
download | ffmpeg-ad0ee682b3cf663eb319020086f64da11d17dd82.tar.gz |
wma: Clip WMA1 and WMA2 frame length to 11 bits.
The MDCT buffers in the decoder are only sized for up to 11 bits. The
reverse engineered documentation for WMA1/2 headers say that that for
all samplerates above 32kHz 11 bits are used. 12 and 13 bit support
were added for WMAPro. I was unable to make any Microsoft tools generate
a test file at a samplerate above 48kHz.
Discovered by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit d78bb1a4b2a3a415b68e4e6dd448779eccec64e3)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libswscale/yuv2rgb.c')
0 files changed, 0 insertions, 0 deletions