diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-08-12 08:42:35 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-09-29 07:19:30 +0200 |
commit | 998e8519efbc772994c5ba19c0d39573998be9db (patch) | |
tree | 86fce78e47359085f0e28004155b92df58f9585f /libavutil/rational.h | |
parent | daf98908118074e96199ca7195663af4543d3808 (diff) | |
download | ffmpeg-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 'libavutil/rational.h')
0 files changed, 0 insertions, 0 deletions