aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/avfilter.c
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2013-10-28 02:58:13 +0100
committerAnton Khirnov <anton@khirnov.net>2013-10-28 07:58:23 +0100
commit884c7a6eb86a9bc05abafc058b279018ded7de5f (patch)
tree9dea04699402c3fd3ce0dd0ea2bb2ccd5069bace /libavfilter/avfilter.c
parent5c439b41d0489412c0a4cf6dfb98915251677b8e (diff)
downloadffmpeg-884c7a6eb86a9bc05abafc058b279018ded7de5f.tar.gz
avfilter: fix const use of avfilter_next
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavfilter/avfilter.c')
-rw-r--r--libavfilter/avfilter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index 68e0f2c215..b18c0cb31e 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -277,7 +277,7 @@ const
#endif
AVFilter *avfilter_get_by_name(const char *name)
{
- AVFilter *f = NULL;
+ const AVFilter *f = NULL;
if (!name)
return NULL;
@@ -343,7 +343,7 @@ static void *filter_child_next(void *obj, void *prev)
static const AVClass *filter_child_class_next(const AVClass *prev)
{
- AVFilter *f = NULL;
+ const AVFilter *f = NULL;
while (prev && (f = avfilter_next(f)))
if (f->priv_class == prev)