aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/avfilter.h
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-02-15 22:14:02 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-02-15 22:14:02 +0000
commitfc815c5623c42251025d39821e1e4990885753fb (patch)
treeb78b873827512f551b8021b5fdcc74faff2908e8 /libavfilter/avfilter.h
parent16415eafdb3c457828338f3085e11d410551f4b6 (diff)
downloadffmpeg-fc815c5623c42251025d39821e1e4990885753fb.tar.gz
Rename avfilter_create to avfilter_open and remove the wrapper function
avfilter_create_by_name. Commited in SoC by Bobby Bingham on 2007-08-17 23:39:55 Originally committed as revision 12101 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r--libavfilter/avfilter.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index bcc1fd9c75..4824617881 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -370,9 +370,10 @@ void avfilter_init(void);
void avfilter_uninit(void);
/**
- * Register a filter. This is only needed if you plan to create an instance of
- * this filter by name later with avfilter_create_by_name. A filter can still
- * by created with acfilter_create even if it is not registered.
+ * Register a filter. This is only needed if you plan to use
+ * avfilter_get_by_name later to lookup the AVFilter structure by name. A
+ * filter can still by instantiated with avfilter_open even if it is not
+ * registered.
* @param filter The filter to register
*/
void avfilter_register(AVFilter *filter);
@@ -391,15 +392,7 @@ AVFilter *avfilter_get_by_name(char *name);
* @param inst_name Name to give to the new instance. Can be NULL for none.
* @return Pointer to the new instance on success. NULL on failure.
*/
-AVFilterContext *avfilter_create(AVFilter *filter, char *inst_name);
-
-/**
- * Creates a filter instace
- * @param name The name of the filter type which is to be instantiated
- * @param inst_name Name to give to the new instance. Can be NULL for none.
- * @return Pointer to the new instance on success. NULL in failure.
- */
-AVFilterContext *avfilter_create_by_name(char *name, char *inst_name);
+AVFilterContext *avfilter_open(AVFilter *filter, char *inst_name);
/**
* Initialize a filter