Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-06-05 20:58:51 +0400
committerStefano Sabatini <stefasab@gmail.com>2012-06-07 01:25:33 +0400
commitad347bf45948437da0d6eee0e385d7a01efb6599 (patch)
tree7d8bc590d2687e5bad2c9604dab20aa056f2e827 /libavfilter
parentfe16ca1b918f79bb66a75ed29980e192af20ce94 (diff)
lavfi: remove avfilter_default_item_name() from public API
The function was introduced in 4d6a8a2bdb19 and is not used anymore outside avfilter.c. This avoids to pollute the public API with an apparently unnecessary function. The function was introduced a few days ago, so removing it from the public API should do no much harm.
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/avfilter.c4
-rw-r--r--libavfilter/avfilter.h6
-rw-r--r--libavfilter/version.h2
3 files changed, 3 insertions, 9 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index 98c35ee00f..fb74f26dc2 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -407,7 +407,7 @@ static int pad_count(const AVFilterPad *pads)
return count;
}
-const char *avfilter_default_filter_name(void *filter_ctx)
+static char *default_filter_name(void *filter_ctx)
{
AVFilterContext *ctx = filter_ctx;
return ctx->name ? ctx->name : ctx->filter->name;
@@ -415,7 +415,7 @@ const char *avfilter_default_filter_name(void *filter_ctx)
static const AVClass avfilter_class = {
.class_name = "AVFilter",
- .item_name = avfilter_default_filter_name,
+ .item_name = default_filter_name,
.version = LIBAVUTIL_VERSION_INT,
.category = AV_CLASS_CATEGORY_FILTER,
};
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index 334a1c104f..17c074fd25 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -621,12 +621,6 @@ struct AVFilterContext {
struct AVFilterCommand *command_queue;
};
-/**
- * Print the name of the filter given a filter context.
- */
-const char *avfilter_default_filter_name(void *filter_ctx);
-
-
#if FF_API_PACKING
enum AVFilterPacking {
AVFILTER_PACKED = 0,
diff --git a/libavfilter/version.h b/libavfilter/version.h
index 76f649ea01..c90b4ad43a 100644
--- a/libavfilter/version.h
+++ b/libavfilter/version.h
@@ -30,7 +30,7 @@
#define LIBAVFILTER_VERSION_MAJOR 2
#define LIBAVFILTER_VERSION_MINOR 78
-#define LIBAVFILTER_VERSION_MICRO 100
+#define LIBAVFILTER_VERSION_MICRO 101
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
LIBAVFILTER_VERSION_MINOR, \