aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/msgsmdec.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-10-06 10:21:22 +0100
committerMans Rullgard <mans@mansr.com>2012-10-06 17:08:29 +0100
commit6221e2478c593a0ce1183eed929cb2101dbf5265 (patch)
tree3c472baf16c0abb5f99e6d5c15fba8a5f2a15f3f /libavcodec/msgsmdec.c
parent37ac11d92e8068d8d55345fb3e2bbe340c91e16a (diff)
downloadffmpeg-6221e2478c593a0ce1183eed929cb2101dbf5265.tar.gz
parseutils: fix parsing of invalid alpha values
An alpha specifier outside the valid range results in a conversion from double to long with undefined result. Range-checking the double and only converting it after it passes avoids this. Fixes fate-parseutils errors on some systems. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/msgsmdec.c')
0 files changed, 0 insertions, 0 deletions