diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-02-15 22:13:44 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-02-15 22:13:44 +0000 |
commit | 72f6d6317ca73cd9900f28c1bed197fc0cdf0d16 (patch) | |
tree | 33e8c4b77641433babc42e205c440cb8d8901b4a /libavfilter | |
parent | 13ff8fd01c4d2c1bada5c2e62881aed7c73c7b4d (diff) | |
download | ffmpeg-streaming-72f6d6317ca73cd9900f28c1bed197fc0cdf0d16.zip ffmpeg-streaming-72f6d6317ca73cd9900f28c1bed197fc0cdf0d16.tar.gz |
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
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/avfilter.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 7c6b361..20e9f68 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); |