xwma: Validate channels and bits_per_coded_sample.
authorAlex Converse <alex.converse@gmail.com>
Wed, 21 Mar 2012 17:58:07 +0000 (10:58 -0700)
committerAlex Converse <alex.converse@gmail.com>
Thu, 22 Mar 2012 20:57:12 +0000 (13:57 -0700)
commit5023b89bba198b2f8e43b7f555aeb9c30d33db9f
tree2ba6f7be3da47d53bb45500d4ba30fc53045d179
parent86f2ae06b92d42580ae7ebd86d52c9b7acbc2f13
xwma: Validate channels and bits_per_coded_sample.

This prevents a SIGFPE later on.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
libavformat/xwma.c