diff options
author | Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> | 2015-06-10 00:12:38 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2016-03-20 01:04:12 +0100 |
commit | a2d1922bde8db2cdac95051918fe81ae18c0376b (patch) | |
tree | 40104d5322a9b050bcccac880f100c24cd1cfdb4 /libavcodec/avpicture.c | |
parent | 9765549f551ff40869aee1a6492b6a976c86cfe9 (diff) | |
download | ffmpeg-a2d1922bde8db2cdac95051918fe81ae18c0376b.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>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/avpicture.c')
0 files changed, 0 insertions, 0 deletions