FFmpeg/libavfilter
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 998e8519ef)
2011-10-01 20:51:43 +02:00
..
libmpcodecs vf_remove_logo: domt access vf->next->query_format() directly but use the API. 2011-09-21 19:46:42 +02:00
x86 Merge remote-tracking branch 'qatar/release/0.7' into release/0.8 2011-07-26 00:14:04 +02:00
af_anull.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
allfilters.c lavfi: add vsink_buffer, and use it in ff* tools 2011-06-19 19:18:33 +02:00
asink_anullsink.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
asrc_anullsrc.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
avcodec.c libavfilter: implement avfilter_fill_frame_from_video_buffer_ref() 2011-06-12 22:46:02 +02:00
avcodec.h libavfilter: implement avfilter_fill_frame_from_video_buffer_ref() 2011-06-12 22:46:02 +02:00
avfilter.c avfilter picture pool: double free hotfix 2011-06-21 04:24:03 +02:00
avfilter.h lavfi: add layout negotiation fields and helper functions. 2011-06-19 22:58:32 +02:00
avfiltergraph.c lavfi: add layout negotiation fields and helper functions. 2011-06-19 22:58:32 +02:00
avfiltergraph.h avfiltergraph: make the AVFilterInOut alloc/free API public 2011-06-12 22:46:02 +02:00
defaults.c lavfi: add layout negotiation fields and helper functions. 2011-06-19 22:58:32 +02:00
drawutils.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
drawutils.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
formats.c lavfi: add layout negotiation fields and helper functions. 2011-06-19 22:58:32 +02:00
gradfun.h Add some forgotten const to function arguments in libavfilter & libavformat. 2011-05-17 03:05:36 +02:00
graphparser.c graphparser: add missing NULL check in avfilter_graph_parse() 2011-06-18 02:08:38 +02:00
internal.h lavfi: apply misc style fixes 2011-06-02 18:24:49 +02:00
libavfilter.v Add symbol versioning for shared libraries 2010-01-16 04:49:02 +00:00
Makefile lavfi: fix Makefile HEADERS 2011-06-19 22:58:31 +02:00
vf_aspect.c lavfi: rename AVFilterBufferRefVideoProps.pixel_aspect to sample_aspect_ratio 2011-05-01 13:10:18 +02:00
vf_blackframe.c lavfi: add layout negotiation fields and helper functions. 2011-06-19 22:58:32 +02:00
vf_copy.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
vf_crop.c lavfi: add layout negotiation fields and helper functions. 2011-06-19 22:58:32 +02:00
vf_cropdetect.c lavfi: add layout negotiation fields and helper functions. 2011-06-19 22:58:32 +02:00
vf_drawbox.c lavfi: add layout negotiation fields and helper functions. 2011-06-19 22:58:32 +02:00
vf_drawtext.c drawtext: add braces around initialisers for option defaults 2011-06-20 20:54:40 +02:00
vf_fade.c lavfi: add layout negotiation fields and helper functions. 2011-06-19 22:58:32 +02:00
vf_fieldorder.c Remove unused variables 2011-06-02 20:06:00 +01:00
vf_fifo.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
vf_format.c lavfi: add layout negotiation fields and helper functions. 2011-06-19 22:58:32 +02:00
vf_frei0r.c lavfi: add layout negotiation fields and helper functions. 2011-06-19 22:58:32 +02:00
vf_gradfun.c lavfi: add layout negotiation fields and helper functions. 2011-06-19 22:58:32 +02:00
vf_hflip.c lavfi: add layout negotiation fields and helper functions. 2011-06-19 22:58:32 +02:00
vf_hqdn3d.c lavfi: add layout negotiation fields and helper functions. 2011-06-19 22:58:32 +02:00
vf_libopencv.c vf_libopencv: replace opencv/cxtypes.h #include by opencv/cxcore.h 2011-07-18 12:37:22 +02:00
vf_lut.c libavfilter: fix --enable-small 2011-08-15 19:49:17 +02:00
vf_mp.c vf_mp: do not add duplicated pixel formats. 2011-06-22 20:21:54 +02:00
vf_null.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
vf_overlay.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
vf_pad.c lavfi: add layout negotiation fields and helper functions. 2011-06-19 22:58:32 +02:00
vf_pixdesctest.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
vf_scale.c vf_scale: apply the same transform to the aspect during init that is applied per frame 2011-09-07 14:20:53 +02:00
vf_select.c lavfi: add select filter 2011-05-25 12:54:07 +02:00
vf_setpts.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
vf_settb.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
vf_showinfo.c showinfo: replace "CRC" by "checksum" 2011-05-15 12:28:53 +02:00
vf_slicify.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
vf_split.c vf_split: give more meaningful names to the output pads 2011-05-22 02:43:47 +02:00
vf_transpose.c lavfi: add layout negotiation fields and helper functions. 2011-06-19 22:58:32 +02:00
vf_unsharp.c vf_unsharp: fix out-of-buffer read 2011-10-01 20:51:43 +02:00
vf_vflip.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
vf_yadif.c lavfi: add layout negotiation fields and helper functions. 2011-06-19 22:58:32 +02:00
vsink_buffer.c lavfi: add layout negotiation fields and helper functions. 2011-06-19 22:58:32 +02:00
vsink_buffer.h lavfi: add vsink_buffer, and use it in ff* tools 2011-06-19 19:18:33 +02:00
vsink_nullsink.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
vsrc_buffer.c lavfi: add layout negotiation fields and helper functions. 2011-06-19 22:58:32 +02:00
vsrc_buffer.h vsrc_buffer: add flags param to av_vsrc_buffer_add_video_buffer_ref 2011-06-06 01:35:27 +02:00
vsrc_color.c lavfi: add layout negotiation fields and helper functions. 2011-06-19 22:58:32 +02:00
vsrc_movie.c lavfi: add layout negotiation fields and helper functions. 2011-06-19 22:58:32 +02:00
vsrc_nullsrc.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
yadif.h Change yadif to not use out of picture lines. 2011-04-03 08:46:19 +02:00