diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-10-30 21:41:11 +0100 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-11-17 23:11:57 +0100 |
commit | 266cf258cc9377fa46acf78dfcb354b4cb12ef6f (patch) | |
tree | 157ca5ac37b8cde28cc06669a38547e6f1cbc44e /doc/examples/demuxing_decoding.c | |
parent | c90d521f161b20b94097e89a74c3465cfc5d2471 (diff) | |
download | ffmpeg-266cf258cc9377fa46acf78dfcb354b4cb12ef6f.tar.gz |
interplayacm: validate number of channels
The number of channels is used as divisor in decode_frame, so it must
not be zero to avoid SIGFPE crashes.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit 5540d6c1343e6d1e06d6601b7d35884761711e3e)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'doc/examples/demuxing_decoding.c')
0 files changed, 0 insertions, 0 deletions