From 5c439b41d0489412c0a4cf6dfb98915251677b8e Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Mon, 28 Oct 2013 02:58:12 +0100 Subject: avfilter: have avfilter_get_by_name return const for next bump Signed-off-by: Anton Khirnov --- libavfilter/avfilter.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavfilter/avfilter.h') diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index ca11be9bc6..9f14afdbc5 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -764,6 +764,9 @@ int avfilter_register(AVFilter *filter); * @return the filter definition, if any matching one is registered. * NULL if none found. */ +#if !FF_API_NOCONST_GET_NAME +const +#endif AVFilter *avfilter_get_by_name(const char *name); /** -- cgit v1.2.3