diff options
author | Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> | 2015-06-10 00:12:38 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-10 12:21:04 +0200 |
commit | 05c57ba2f42324da2fdc93d83d65bb68dd637613 (patch) | |
tree | 486e262d177ae7ff21b1e062e1dfe78ec67a900a /libavformat/ac3dec.c | |
parent | aef0e0f009802f1a5e21eb6465498632071e4475 (diff) | |
download | ffmpeg-05c57ba2f42324da2fdc93d83d65bb68dd637613.tar.gz |
takdec: ensure chan2 is a valid channel index
If chan2 is not smaller than the number of channels, it can cause
segmentation faults due to dereferencing a NULL pointer.
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/ac3dec.c')
0 files changed, 0 insertions, 0 deletions