]> git.sesse.net Git - ffmpeg/commit
ac3dec: validate channel output mode against channel count
authorJustin Ruggles <justin.ruggles@gmail.com>
Wed, 20 Feb 2013 16:41:20 +0000 (11:41 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Sat, 23 Feb 2013 21:59:39 +0000 (16:59 -0500)
commitd7c450436fcb9d3ecf59884a574e7684183e753d
treeb28b5f3475e03ee1905cb1e55ce78a1574c4b0d6
parent82ca17ac7a0a08784cb6808384ee237ac28e8334
ac3dec: validate channel output mode against channel count

Damaged frames can lead to a mismatch, which can cause a segfault
due to using an incorrect channel mapping.

CC:libav-stable@libav.org
libavcodec/ac3dec.c