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-27 00:38:55 +0100 |
commit | aa32d415275613e406a43d8f091d6981e4e1b872 (patch) | |
tree | daa8a75a865a7c0eb7f6f93701b3612c73b55ad6 /libavutil/file.h | |
parent | a1e6daeb1e92abf59e6b5a4229948ca54967f759 (diff) | |
download | ffmpeg-aa32d415275613e406a43d8f091d6981e4e1b872.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 'libavutil/file.h')
0 files changed, 0 insertions, 0 deletions