on2avc: check number of channels
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 4 Oct 2014 20:15:07 +0000 (22:15 +0200)
committerAnton Khirnov <anton@khirnov.net>
Fri, 19 Dec 2014 07:01:47 +0000 (08:01 +0100)
commitcee4490b521fd0d02476d46aa2598af24fb8d686
tree4f586c7155cea104f325e7eda9b3ca170d53aaa7
parentd423dd72be451462c6fb1cbbe313bed0194001ab
on2avc: check number of channels

Fixes invalid memory access.

CC: libav-stable@libav.org
Bug-ID: CVE-2014-8549
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/on2avc.c