diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2013-10-28 02:58:12 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-10-28 07:57:44 +0100 |
commit | 5c439b41d0489412c0a4cf6dfb98915251677b8e (patch) | |
tree | 9069f3544b52caf19da4dfc8bc635b25d1f557cf /libavfilter/avfilter.h | |
parent | 97de206b44a48da726807cc3e7b9448a8112760b (diff) | |
download | ffmpeg-5c439b41d0489412c0a4cf6dfb98915251677b8e.tar.gz |
avfilter: have avfilter_get_by_name return const for next bump
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r-- | libavfilter/avfilter.h | 3 |
1 files changed, 3 insertions, 0 deletions
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); /** |