aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/metadata.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-17 23:11:57 +0100
commit266cf258cc9377fa46acf78dfcb354b4cb12ef6f (patch)
tree157ca5ac37b8cde28cc06669a38547e6f1cbc44e /doc/examples/metadata.c
parentc90d521f161b20b94097e89a74c3465cfc5d2471 (diff)
downloadffmpeg-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/metadata.c')
0 files changed, 0 insertions, 0 deletions