summaryrefslogtreecommitdiff
path: root/libavfilter/vf_blackframe.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-05-19 10:37:56 +0200
committerAnton Khirnov <anton@khirnov.net>2012-05-22 21:36:23 +0200
commitc04c533f62b80e9d6bbcb89946bab6206a8873c5 (patch)
tree46f7a477b17e2f9e56406ae844e963fd5657cbf5 /libavfilter/vf_blackframe.c
parent43c7a01e9879640859d32b062ac01700e1333c7a (diff)
lavfi: remove avfilter_null_* from public API on next bump.
Those functions are only useful inside filters. It is better to not support user filters until the API is more stable.
Diffstat (limited to 'libavfilter/vf_blackframe.c')
-rw-r--r--libavfilter/vf_blackframe.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavfilter/vf_blackframe.c b/libavfilter/vf_blackframe.c
index 770eec94e0..7e69ccb1f6 100644
--- a/libavfilter/vf_blackframe.c
+++ b/libavfilter/vf_blackframe.c
@@ -28,6 +28,7 @@
*/
#include "avfilter.h"
+#include "video.h"
typedef struct {
unsigned int bamount; ///< black amount
@@ -118,8 +119,8 @@ AVFilter avfilter_vf_blackframe = {
.inputs = (AVFilterPad[]) {{ .name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.draw_slice = draw_slice,
- .get_video_buffer = avfilter_null_get_video_buffer,
- .start_frame = avfilter_null_start_frame,
+ .get_video_buffer = ff_null_get_video_buffer,
+ .start_frame = ff_null_start_frame,
.end_frame = end_frame, },
{ .name = NULL}},