diff options
Diffstat (limited to 'libavfilter/internal.h')
-rw-r--r-- | libavfilter/internal.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libavfilter/internal.h b/libavfilter/internal.h index 0b28422f1f..6907b76a71 100644 --- a/libavfilter/internal.h +++ b/libavfilter/internal.h @@ -339,4 +339,14 @@ enum { }; +/** + * Allocate a new filter context and return it. + * + * @param filter what filter to create an instance of + * @param inst_name name to give to the new filter context + * + * @return newly created filter context or NULL on failure + */ +AVFilterContext *ff_filter_alloc(const AVFilter *filter, const char *inst_name); + #endif /* AVFILTER_INTERNAL_H */ |