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

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2013-10-28 05:58:12 +0400
committerAnton Khirnov <anton@khirnov.net>2013-10-28 10:57:44 +0400
commit5c439b41d0489412c0a4cf6dfb98915251677b8e (patch)
tree9069f3544b52caf19da4dfc8bc635b25d1f557cf /libavfilter/avfilter.c
parent97de206b44a48da726807cc3e7b9448a8112760b (diff)
avfilter: have avfilter_get_by_name return const for next bump
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavfilter/avfilter.c')
-rw-r--r--libavfilter/avfilter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index 88e39bf720..68e0f2c215 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -272,6 +272,9 @@ int ff_poll_frame(AVFilterLink *link)
static AVFilter *first_filter;
+#if !FF_API_NOCONST_GET_NAME
+const
+#endif
AVFilter *avfilter_get_by_name(const char *name)
{
AVFilter *f = NULL;