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
163163 return avfilter_get_video_buffer(link2, perms);
164164 }
165165
166−static void link_out_draw_slice(AVFilterLink *link, uint8_t *data[4], int y,
167− int height)
166+static void link_out_draw_slice(AVFilterLink *link, int y, int height)
168167 {
169168 AVFilterLink *link2 = get_extern_output_link(link);
170169
171170 if(link2)
172− avfilter_draw_slice(link2, data, y, height);
171+ avfilter_draw_slice(link2, y, height);
173172 }
174173
175174 /** 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
215214 return NULL;
216215 }
217216
218−static void graph_in_draw_slice(AVFilterLink *link, uint8_t *data[4], int y, int height)
217+static void graph_in_draw_slice(AVFilterLink *link, int y, int height)
219218 {
220219 AVFilterLink *link2 = get_intern_input_link(link);
221220 if(link2)
222− avfilter_draw_slice(link2, data, y, height);
221+ avfilter_draw_slice(link2, y, height);
223222 }
224223
225224 static 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