summaryrefslogtreecommitdiff
path: root/libavfilter/avfiltergraph.c
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-04-04 20:06:42 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-04-04 20:06:42 +0000
commit5ded633e07b670b8f77528e7e91ffde9605de46e (patch)
tree26bab07c52142acc21ceefa6074276932c6be35e /libavfilter/avfiltergraph.c
parent57d4a1575cf348719fa5f3205c97eada9eac8818 (diff)
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 12701 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/avfiltergraph.c')
-rw-r--r--libavfilter/avfiltergraph.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c
index c3436d8226..cf8ba93bb9 100644
--- a/libavfilter/avfiltergraph.c
+++ b/libavfilter/avfiltergraph.c
@@ -163,13 +163,12 @@ static AVFilterPicRef *link_out_get_video_buffer(AVFilterLink *link, int perms)
return avfilter_get_video_buffer(link2, perms);
}
-static void link_out_draw_slice(AVFilterLink *link, uint8_t *data[4], int y,
- int height)
+static void link_out_draw_slice(AVFilterLink *link, int y, int height)
{
AVFilterLink *link2 = get_extern_output_link(link);
if(link2)
- avfilter_draw_slice(link2, data, y, height);
+ avfilter_draw_slice(link2, y, height);
}
/** dummy filter used to help export filters pads outside the graph */
@@ -215,11 +214,11 @@ static AVFilterPicRef *graph_in_get_video_buffer(AVFilterLink *link, int perms)
return NULL;
}
-static void graph_in_draw_slice(AVFilterLink *link, uint8_t *data[4], int y, int height)
+static void graph_in_draw_slice(AVFilterLink *link, int y, int height)
{
AVFilterLink *link2 = get_intern_input_link(link);
if(link2)
- avfilter_draw_slice(link2, data, y, height);
+ avfilter_draw_slice(link2, y, height);
}
static int *graph_in_query_formats(AVFilterLink *link)