Stefano Sabatini
998e8519ef
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>
2011-09-29 07:19:30 +02:00
..
2011-07-04 00:01:47 +00:00
2011-03-19 13:33:20 +00:00
2011-09-17 19:08:30 +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-09-28 08:03:24 +02:00
2011-09-28 08:02:53 +02:00
2011-09-28 08:02:53 +02:00
2011-06-20 18:56:06 -04:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-09-28 08:03:18 +02:00
2011-03-19 13:33:20 +00:00
2011-09-28 08:02:53 +02:00
2011-05-21 13:48:10 +02:00
2010-01-16 04:49:02 +00:00
2011-09-17 19:08:30 +02:00
2011-07-03 21:42:06 +01:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2011-07-03 21:42:06 +01:00
2011-03-19 13:33:20 +00:00
2011-08-26 18:34:28 +02:00
2011-09-07 11:19:43 +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-07-05 20:16:38 +02: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:33:13 +02:00
2011-03-19 13:33:20 +00:00
2011-07-03 21:42:06 +01:00
2011-09-28 08:03:30 +02:00
2011-03-19 13:33:20 +00:00
2011-09-28 08:08:30 +02:00
2011-09-17 19:08:30 +02:00
2011-07-03 21:42:06 +01:00
2011-07-03 21:42:06 +01:00
2011-09-12 08:48:14 +02:00
2011-03-19 13:33:20 +00:00
2011-09-12 08:48:16 +02:00
2011-03-19 13:33:20 +00:00
2011-09-29 07:19:30 +02:00
2011-03-19 13:33:20 +00:00
2011-09-21 09:00:24 +02:00
2011-03-19 13:33:20 +00:00
2011-05-24 14:21:20 +02:00
2011-09-19 12:43:10 +02:00
2011-09-28 08:03:11 +02:00
2011-09-07 11:19:43 +02:00
2011-07-03 21:42:06 +01:00
2011-04-03 08:46:19 +02:00