diff options
author | Martin Storsjö <martin@martin.st> | 2012-06-30 21:30:28 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-07-01 15:51:26 +0300 |
commit | 710bd8a33e9c183ded4a61d742d404d8d5d838ea (patch) | |
tree | f5acd99bde020addc649745ba74fc8418465a546 /libavcodec/raw.c | |
parent | 889c1ec4cc064313092bc43a8a3a05aac9799e61 (diff) | |
download | ffmpeg-streaming-710bd8a33e9c183ded4a61d742d404d8d5d838ea.zip ffmpeg-streaming-710bd8a33e9c183ded4a61d742d404d8d5d838ea.tar.gz |
wma: Lower the maximum number of channels to 2
ff_wma_init is used only by wmadec and wmaenc, and neither of them
can handle more than 2 channels.
This fixes crashes with invalid files.
Based on patch by Piotr Bandurski and Michael Niedermayer.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/raw.c')
0 files changed, 0 insertions, 0 deletions