diff options
author | Alex Converse <alex.converse@gmail.com> | 2012-01-24 18:43:43 -0800 |
---|---|---|
committer | Alex Converse <alex.converse@gmail.com> | 2012-01-25 12:31:37 -0800 |
commit | d78bb1a4b2a3a415b68e4e6dd448779eccec64e3 (patch) | |
tree | c49f75a42d7ea1fff4a8121e18efd4b60071e194 /libavformat/rtpdec_mpeg4.c | |
parent | 9f9c45f4b635457543a3bc37b09a679daa9dabea (diff) | |
download | ffmpeg-d78bb1a4b2a3a415b68e4e6dd448779eccec64e3.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
Diffstat (limited to 'libavformat/rtpdec_mpeg4.c')
0 files changed, 0 insertions, 0 deletions