diff options
author | Andreas Cadhalpun <[email protected]> | 2015-06-10 00:12:38 +0200 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2015-07-20 04:43:39 +0200 |
commit | d15f4f5f22eeca76d224184d4de2fef20a243b3f (patch) | |
tree | 68e6ef11c8e54bc2b98c022331028ff2509aaf57 /doc/examples/demuxing_decoding.c | |
parent | 0afa8a6c859bbcaf38a347647d3945054d76be1f (diff) |
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 <[email protected]>
Reviewed-by: Paul B Mahol <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
(cherry picked from commit 05c57ba2f42324da2fdc93d83d65bb68dd637613)
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'doc/examples/demuxing_decoding.c')
0 files changed, 0 insertions, 0 deletions