Stefano Sabatini
734a9bb05f
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 998e8519ef )
Signed-off-by: Anton Khirnov <anton@khirnov.net >
Signed-off-by: Reinhard Tartler <siretart@tauware.de >
2012-02-08 14:38:31 +01:00
..
2011-07-07 16:51:47 +02:00
2011-03-19 13:33:20 +00:00
2011-05-07 10:17:40 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-05-29 13:43:03 +02:00
2011-05-21 13:48:10 +02:00
2011-03-19 13:33:20 +00:00
2011-05-21 13:48:10 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-25 22:45:44 +02:00
2011-05-21 13:48:10 +02:00
2010-01-16 04:49:02 +00:00
2011-05-07 10:17:40 +02:00
2011-04-25 22:45:44 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-05-29 13:43:02 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-06-20 20:54:40 +02:00
2011-04-25 22:45:44 +02:00
2011-06-02 20:06:00 +01:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-04-28 07:25:27 +02:00
2011-03-19 13:33:20 +00:00
2011-07-18 12:37:22 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2012-02-08 14:38:31 +01:00
2011-03-19 13:33:20 +00:00
2012-02-08 14:38:31 +01:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2012-02-08 14:38:31 +01:00
2011-03-19 13:33:20 +00:00
2012-02-08 14:38:27 +01:00
2011-03-19 13:33:20 +00:00
2011-05-24 14:21:20 +02:00
2011-05-24 14:22:51 +02:00
2011-03-19 13:33:20 +00:00
2011-11-19 10:22:27 +01:00
2011-03-19 13:33:20 +00:00
2011-04-03 08:46:19 +02:00