aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-08-12 08:42:35 +0200
committerReinhard Tartler <siretart@tauware.de>2012-02-08 14:38:31 +0100
commit734a9bb05f2b5c09c43d6c26c75dae6af3f51fa2 (patch)
treefe2f135cecf8bed26d041f6cb40e9e7e6fdd2802 /doc
parent7f62cf120bd066964d93617c73bd5f9f2ee9de00 (diff)
downloadffmpeg-734a9bb05f2b5c09c43d6c26c75dae6af3f51fa2.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> (cherry picked from commit 998e8519efbc772994c5ba19c0d39573998be9db) Signed-off-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions