From 72f6d6317ca73cd9900f28c1bed197fc0cdf0d16 Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Fri, 15 Feb 2008 22:13:44 +0000 Subject: Remove the data parameter from draw_slice(). It's unneeded and often more work than it's worth. Commited in SoC by Bobby Bingham on 2007-08-17 14:39:11 Originally committed as revision 12096 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavfilter/avfilter.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libavfilter/avfilter.h') diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 7c6b3616b7..20e9f6835b 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -161,7 +161,7 @@ struct AVFilterPad * * Input video pads only. */ - void (*draw_slice)(AVFilterLink *link, uint8_t *data[4], int y, int height); + void (*draw_slice)(AVFilterLink *link, int y, int height); /** * Frame request callback. A call to this should result in at least one @@ -330,11 +330,10 @@ void avfilter_end_frame(AVFilterLink *link); /** * Send a slice to the next filter * @param link The output link over which the frame is being sent - * @param data Start of the picture data for this slice * @param y Offset in pixels from the top of the image for this slice * @param h Height of this slice in pixels */ -void avfilter_draw_slice(AVFilterLink *link, uint8_t *data[4], int y, int h); +void avfilter_draw_slice(AVFilterLink *link, int y, int h); /** Initialize the filter system. Registers all builtin filters */ void avfilter_init(void); -- cgit v1.2.3