diff options
author | Clément Bœsch <ubitux@gmail.com> | 2012-12-18 21:44:51 +0100 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-12-19 03:13:26 +0100 |
commit | 3bdd70fc661feaf915ae438e05f66cce75334673 (patch) | |
tree | 43fe01862cc4b47b4b008d75aae067d7e429d35a /libavformat/pmpdec.c | |
parent | 63e1fc25884fe7cf3f66a8b99602ca98a47fb763 (diff) | |
download | ffmpeg-3bdd70fc661feaf915ae438e05f66cce75334673.tar.gz |
lavfi/gradfun: reduce up limit for threshold.
This will prevent an overflow in the SSSE3 and MMX filter_line code:
delta is expressed as an u16 being shifted by 2 to the left. If it
overflows, having a strength not above 64 will make sure that m is set
to 0 (making the m*m*delta >> 14 expression void).
A value above 64 should not make any sense unless gradfun is used as a
blur filter.
Diffstat (limited to 'libavformat/pmpdec.c')
0 files changed, 0 insertions, 0 deletions