[FFmpeg-cvslog] r12006 - trunk/libavfilter/avfilter.c

vitor subversion
Fri Feb 15 22:37:52 CET 2008


Author: vitor
Date: Fri Feb 15 22:37:52 2008
New Revision: 12006

Log:
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


Modified:
   trunk/libavfilter/avfilter.c

Modified: trunk/libavfilter/avfilter.c
==============================================================================
--- trunk/libavfilter/avfilter.c	(original)
+++ trunk/libavfilter/avfilter.c	Fri Feb 15 22:37:52 2008
@@ -179,12 +179,12 @@ void avfilter_end_frame(AVFilterLink *li
     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;
 
-    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)




More information about the ffmpeg-cvslog mailing list