aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/decoding_encoding.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-10-30 21:41:11 +0100
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-11-27 00:28:03 +0100
commitd6fbc7a2daf0311fa7c093d48bcf19d1cf35936a (patch)
treeac9c139da4bc5cf86ef263763bdb2d5dd2de7a78 /doc/examples/decoding_encoding.c
parent5ede8a9d8c263ff2741bf6a6c54b76287be2af36 (diff)
downloadffmpeg-d6fbc7a2daf0311fa7c093d48bcf19d1cf35936a.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/decoding_encoding.c')
0 files changed, 0 insertions, 0 deletions