aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mpegvideodec.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-08-12 08:42:35 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-10-01 20:51:43 +0200
commitd155fdefb88ac45d90600252cd2348d3d6d2cf36 (patch)
tree35927ff2f1378e0a66805663275ae81b289b1e97 /libavformat/mpegvideodec.c
parentd414c77ded5e8896e3a63dbdbd09bd96e70fbf6e (diff)
downloadffmpeg-d155fdefb88ac45d90600252cd2348d3d6d2cf36.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> (cherry picked from commit 998e8519efbc772994c5ba19c0d39573998be9db)
Diffstat (limited to 'libavformat/mpegvideodec.c')
0 files changed, 0 insertions, 0 deletions