OSDN Git Service

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

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

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

libavfilter/avfilter.h

index 7c6b361..20e9f68 100644 (file)
@@ -161,7 +161,7 @@ struct AVFilterPad
      *
      * Input video pads only.
      */
-    void (*draw_slice)(AVFilterLink *link, uint8_t *data[4], int y, int height);
+    void (*draw_slice)(AVFilterLink *link, int y, int height);
 
     /**
      * Frame request callback.  A call to this should result in at least one
@@ -330,11 +330,10 @@ void avfilter_end_frame(AVFilterLink *link);
 /**
  * Send a slice to the next filter
  * @param link The output link over which the frame is being sent
- * @param data Start of the picture data for this slice
  * @param y    Offset in pixels from the top of the image for this slice
  * @param h    Height of this slice in pixels
  */
-void avfilter_draw_slice(AVFilterLink *link, uint8_t *data[4], int y, int h);
+void avfilter_draw_slice(AVFilterLink *link, int y, int h);
 
 /** Initialize the filter system.  Registers all builtin filters */
 void avfilter_init(void);