aboutsummaryrefslogtreecommitdiffstats
path: root/avprobe.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-08-12 08:42:35 +0200
committerAnton Khirnov <anton@khirnov.net>2011-09-29 07:19:30 +0200
commit998e8519efbc772994c5ba19c0d39573998be9db (patch)
tree86fce78e47359085f0e28004155b92df58f9585f /avprobe.c
parentdaf98908118074e96199ca7195663af4543d3808 (diff)
downloadffmpeg-998e8519efbc772994c5ba19c0d39573998be9db.tar.gz
vf_unsharp: fix out-of-buffer read
In apply_unsharp(), when y is >= height, prevent out-of-buffer reading from src, read from the last buffer line in src2 instead. The check was implemented in the original unsharp libmpcodecs code and lost in the port. This also fixes output discrepancy between the two filters. Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'avprobe.c')
0 files changed, 0 insertions, 0 deletions