]> git.sesse.net Git - ffmpeg/commitdiff
lavfi: drop deprecated and pointless avfilter_default_end_frame() function
authorStefano Sabatini <stefasab@gmail.com>
Fri, 7 Sep 2012 09:21:06 +0000 (11:21 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Sun, 9 Sep 2012 08:57:28 +0000 (10:57 +0200)
Fix warning when compiling boxblur.

While this is technically a major API break, practically there will be no
one using that function since the filtering API is mostly private, so
that function alone is not usable.

libavfilter/avfilter.h
libavfilter/version.h
libavfilter/vf_boxblur.c
libavfilter/video.c

index 4750cfdec96f162184631b894bac07608d22ab2d..d66bc000be011f1bb593a9fa11f3490afe2bfdcd 100644 (file)
@@ -410,10 +410,6 @@ const char *avfilter_pad_get_name(AVFilterPad *pads, int pad_idx);
  */
 enum AVMediaType avfilter_pad_get_type(AVFilterPad *pads, int pad_idx);
 
-/** default handler for end_frame() for video inputs */
-attribute_deprecated
-int  avfilter_default_end_frame(AVFilterLink *link);
-
 /**
  * Filter definition. This defines the pads a filter contains, and all the
  * callback functions used to interact with the filter.
index 8c9d4e1b8fedbc17bd20e0b7deaaf24f09843c9e..607948d7f0fd2bd7be5e181422de3e594ed0efdc 100644 (file)
@@ -30,7 +30,7 @@
 
 #define LIBAVFILTER_VERSION_MAJOR  3
 #define LIBAVFILTER_VERSION_MINOR  16
-#define LIBAVFILTER_VERSION_MICRO 100
+#define LIBAVFILTER_VERSION_MICRO 101
 
 #define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
                                                LIBAVFILTER_VERSION_MINOR, \
index 904052970cec50b011d9d14f5a9b271d0fb4aaef..c5056c5732232042be072662a854e9f6ffe25fa1 100644 (file)
@@ -329,7 +329,7 @@ static int end_frame(AVFilterLink *inlink)
               boxblur->temp);
 
     ff_draw_slice(outlink, 0, inlink->h, 1);
-    return avfilter_default_end_frame(inlink);
+    return ff_end_frame(outlink);
 }
 
 AVFilter avfilter_vf_boxblur = {
index 14e7e72f41e1e5e17c076ff5c3f7517e0dc938b6..5294c1b62dc1f6bbd05715c5654581841fe66e6a 100644 (file)
@@ -406,9 +406,3 @@ int ff_draw_slice(AVFilterLink *link, int y, int h, int slice_dir)
         av_assert1(link->cur_buf_copy->buf->refcount > 0);
     return ret;
 }
-
-int avfilter_default_end_frame(AVFilterLink *inlink)
-{
-    return default_end_frame(inlink);
-}
-