summaryrefslogtreecommitdiff
path: root/libavfilter/vf_cropdetect.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-05-30 10:12:55 +0200
committerAnton Khirnov <anton@khirnov.net>2012-06-05 09:37:30 +0200
commitb74a1da49db5ebed51aceae6cacc2329288a92c1 (patch)
treef378b31cc8fdde6de2932826615fed912eec67c0 /libavfilter/vf_cropdetect.c
parent67339f6eb41299096dd7de94f557b487ec3477ff (diff)
lavfi: make formats API private on next bump.
It is only useful inside filters and we don't allow user filters for now.
Diffstat (limited to 'libavfilter/vf_cropdetect.c')
-rw-r--r--libavfilter/vf_cropdetect.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/vf_cropdetect.c b/libavfilter/vf_cropdetect.c
index d321afdd40..20bc219d81 100644
--- a/libavfilter/vf_cropdetect.c
+++ b/libavfilter/vf_cropdetect.c
@@ -25,6 +25,7 @@
#include "libavutil/imgutils.h"
#include "avfilter.h"
+#include "formats.h"
#include "video.h"
typedef struct {
@@ -47,7 +48,7 @@ static int query_formats(AVFilterContext *ctx)
PIX_FMT_NONE
};
- avfilter_set_common_formats(ctx, avfilter_make_format_list(pix_fmts));
+ ff_set_common_formats(ctx, ff_make_format_list(pix_fmts));
return 0;
}