diff options
author | Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> | 2015-06-10 00:12:38 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-08-20 14:29:11 +0200 |
commit | 670832e2a2736080324164d8b96e548e5aee3073 (patch) | |
tree | a9fe5fb3d256e25d3a7ca758280b78943edbdbdd /libavutil/timecode.h | |
parent | 6ff5c4cd49ec33472cd132dc57ae53e1f1d396d0 (diff) | |
download | ffmpeg-670832e2a2736080324164d8b96e548e5aee3073.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>
(cherry picked from commit 05c57ba2f42324da2fdc93d83d65bb68dd637613)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/timecode.h')
0 files changed, 0 insertions, 0 deletions