aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-04-11 10:59:06 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-04-11 10:59:06 +0200
commit44d4488301c69bc026908011a9b6f9df5add3353 (patch)
tree3fcc9e8fc0828eb2c539f20db8686b598cefcee4
parent0965be00fe20e30912b3f51a32a3e435e9996f3e (diff)
parent8114c101607843a86960bd3e0e9c40487dc2a961 (diff)
downloadffmpeg-44d4488301c69bc026908011a9b6f9df5add3353.tar.gz
Merge commit '8114c101607843a86960bd3e0e9c40487dc2a961'
* commit '8114c101607843a86960bd3e0e9c40487dc2a961': lavfi: add avfilter_get_class(). Conflicts: libavfilter/avfilter.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavfilter/avfilter.c10
-rw-r--r--libavfilter/avfilter.h13
2 files changed, 12 insertions, 11 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index c441629d96..5dd4965671 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -490,11 +490,6 @@ static const AVClass avfilter_class = {
.child_class_next = filter_child_class_next,
};
-const AVClass *avfilter_get_class(void)
-{
- return &avfilter_class;
-}
-
int avfilter_open(AVFilterContext **filter_ctx, AVFilter *filter, const char *inst_name)
{
AVFilterContext *ret;
@@ -1038,3 +1033,8 @@ int ff_filter_frame(AVFilterLink *link, AVFrame *frame)
return ff_filter_frame_framed(link, frame);
}
}
+
+const AVClass *avfilter_get_class(void)
+{
+ return &avfilter_class;
+}
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index b19d652f86..effa4070bb 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -60,11 +60,6 @@ const char *avfilter_configuration(void);
*/
const char *avfilter_license(void);
-/**
- * Get the class for the AVFilterContext struct.
- */
-const AVClass *avfilter_get_class(void);
-
typedef struct AVFilterContext AVFilterContext;
typedef struct AVFilterLink AVFilterLink;
typedef struct AVFilterPad AVFilterPad;
@@ -911,7 +906,13 @@ int avfilter_copy_buf_props(AVFrame *dst, const AVFilterBufferRef *src);
#endif
/**
- * @}
+ * @return AVClass for AVFilterContext.
+ *
+ * @see av_opt_find().
*/
+const AVClass *avfilter_get_class(void);
+/**
+ * @}
+ */
#endif /* AVFILTER_AVFILTER_H */