summaryrefslogtreecommitdiffstats
path: root/libavcodec/raw.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-06-30 21:30:28 +0300
committerMartin Storsjö <martin@martin.st>2012-07-01 15:51:26 +0300
commit710bd8a33e9c183ded4a61d742d404d8d5d838ea (patch)
treef5acd99bde020addc649745ba74fc8418465a546 /libavcodec/raw.c
parent889c1ec4cc064313092bc43a8a3a05aac9799e61 (diff)
downloadffmpeg-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
OpenPOWER on IntegriCloud