History

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

Vitor Sessak committed 18 years ago

Commit 5ded6331 parent 57d4a151 file · +4 −5Browse files

Showing the changes to libavfilter/avfiltergraph.c (1 of 1 file). Show all

Unified · Split

libavfilter/avfiltergraph.c+4−5
@@ -163,13 +163,12 @@ static AVFilterPicRef *link_out_get_video_buffer(AVFilterLink *link, int perms) · 162 unmodified lines
163 return avfilter_get_video_buffer(link2, perms);163 return avfilter_get_video_buffer(link2, perms);
164}164}
165 165
166static void link_out_draw_slice(AVFilterLink *link, uint8_t *data[4], int y,166static void link_out_draw_slice(AVFilterLink *link, int y, int height)
167 int height)
168{167{
169 AVFilterLink *link2 = get_extern_output_link(link);168 AVFilterLink *link2 = get_extern_output_link(link);
170 169
171 if(link2)170 if(link2)
172 avfilter_draw_slice(link2, data, y, height);171 avfilter_draw_slice(link2, y, height);
173}172}
174 173
175/** dummy filter used to help export filters pads outside the graph */174/** 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) · 39 unmodified lines
215 return NULL;214 return NULL;
216}215}
217 216
218static void graph_in_draw_slice(AVFilterLink *link, uint8_t *data[4], int y, int height)217static void graph_in_draw_slice(AVFilterLink *link, int y, int height)
219{218{
220 AVFilterLink *link2 = get_intern_input_link(link);219 AVFilterLink *link2 = get_intern_input_link(link);
221 if(link2)220 if(link2)
222 avfilter_draw_slice(link2, data, y, height);221 avfilter_draw_slice(link2, y, height);
223}222}
224 223
225static int *graph_in_query_formats(AVFilterLink *link)224static int *graph_in_query_formats(AVFilterLink *link)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t