mpegaudiodec: Validate that the number of channels fits at the given offset
authorMartin Storsjö <martin@martin.st>
Thu, 19 Sep 2013 12:32:02 +0000 (15:32 +0300)
committerMartin Storsjö <martin@martin.st>
Thu, 19 Sep 2013 19:44:18 +0000 (22:44 +0300)
commite9d61de96c113ee0ef8082833c7e682df0e23eec
treed1871de4e6354d3837ca69104a065150035f24d0
parentf50803354c6acb4575379d7c54ca48ec5d36dd61
mpegaudiodec: Validate that the number of channels fits at the given offset

This is similar to the fix in 35cbc98b.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/mpegaudiodec.c