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
This commit is contained in:
Vitor Sessak 2008-02-15 22:13:44 +00:00
parent 13ff8fd01c
commit 72f6d6317c
1 changed files with 2 additions and 3 deletions

View File

@ -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);