diff options
author | Stefano Sabatini <[email protected]> | 2011-08-12 08:42:35 +0200 |
---|---|---|
committer | Anton Khirnov <[email protected]> | 2011-09-29 07:19:30 +0200 |
commit | 998e8519efbc772994c5ba19c0d39573998be9db (patch) | |
tree | 86fce78e47359085f0e28004155b92df58f9585f /libavcodec/aaccoder.c | |
parent | daf98908118074e96199ca7195663af4543d3808 (diff) |
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 <[email protected]>
Diffstat (limited to 'libavcodec/aaccoder.c')
0 files changed, 0 insertions, 0 deletions