Remove the data parameter from draw_slice(). It's unneeded and often more
authorVitor Sessak <vitor1001@gmail.com>
Fri, 15 Feb 2008 21:37:52 +0000 (21:37 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Fri, 15 Feb 2008 21:37:52 +0000 (21:37 +0000)
work than it's worth.

Commited in SoC by Bobby Bingham on 2007-08-17 14:39:11

Originally committed as revision 12006 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavfilter/avfilter.c

index 1580f1c..f89566d 100644 (file)
@@ -179,12 +179,12 @@ void avfilter_end_frame(AVFilterLink *link)
     end_frame(link);
 }
 
     end_frame(link);
 }
 
-void avfilter_draw_slice(AVFilterLink *link, uint8_t *data[4], int y, int h)
+void avfilter_draw_slice(AVFilterLink *link, int y, int h)
 {
     if(!link->dst->input_pads[link->dstpad].draw_slice)
         return;
 
 {
     if(!link->dst->input_pads[link->dstpad].draw_slice)
         return;
 
-    link->dst->input_pads[link->dstpad].draw_slice(link, data, y, h);
+    link->dst->input_pads[link->dstpad].draw_slice(link, y, h);
 }
 
 static int filter_cmp(const void *aa, const void *bb)
 }
 
 static int filter_cmp(const void *aa, const void *bb)