]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/internal.h
x86: h264: Convert 8-bit QPEL inline assembly to YASM
[ffmpeg] / libavfilter / internal.h
index c08e00bcb8cef5810b182bbf229fad69b3e46c09..6f868ae89fe66756a6210ced0d03d7e202716243 100644 (file)
@@ -98,16 +98,20 @@ struct AVFilterPad {
      * in the link structure during start_frame().
      *
      * Input video pads only.
+     *
+     * @return >= 0 on success, a negative AVERROR on error.
      */
-    void (*end_frame)(AVFilterLink *link);
+    int (*end_frame)(AVFilterLink *link);
 
     /**
      * Slice drawing callback. This is where a filter receives video data
      * and should do its processing.
      *
      * Input video pads only.
+     *
+     * @return >= 0 on success, a negative AVERROR on error.
      */
-    void (*draw_slice)(AVFilterLink *link, int y, int height, int slice_dir);
+    int (*draw_slice)(AVFilterLink *link, int y, int height, int slice_dir);
 
     /**
      * Samples filtering callback. This is where a filter receives audio data