Stefano Sabatini d155fdefb8 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)
2011-10-01 20:51:43 +02:00
2011-10-01 20:32:22 +02:00
2011-10-01 20:48:59 +02:00
2011-06-12 18:01:29 +02:00
2011-09-21 19:46:34 +02:00
2011-10-01 20:32:22 +02:00
2011-10-01 20:32:22 +02:00
2011-09-22 02:29:11 +02:00
2011-04-08 02:50:13 +02:00
2011-10-01 20:32:22 +02:00
2011-09-22 02:29:11 +02:00
2011-09-22 02:29:11 +02:00

FFmpeg README
-------------

1) Documentation
----------------

* Read the documentation in the doc/ directory.

2) Licensing
------------

* See the LICENSE file.
Description
No description provided
Readme 209 MiB
Languages
C 90.4%
Assembly 7.7%
Makefile 1.3%
C++ 0.2%
Objective-C 0.2%
Other 0.1%