diff options
author | Clément Bœsch <ubitux@gmail.com> | 2013-05-11 22:29:46 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2013-05-16 18:38:10 +0200 |
commit | d94c90700863ce3c0bb87e8e590396b919880a6f (patch) | |
tree | da593b775403982ce1aecbb855611d8b2454762c | |
parent | b22f96b7364eeccd188c47341e7d9e9779a00001 (diff) | |
download | ffmpeg-d94c90700863ce3c0bb87e8e590396b919880a6f.tar.gz |
lavfi: silence a discarded const qualifier warning.
-rw-r--r-- | libavfilter/avfilter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index b61b7060a7..5aa6f5532b 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -436,14 +436,14 @@ static AVFilter *first_filter; AVFilter *avfilter_get_by_name(const char *name) { - AVFilter *f = NULL; + const AVFilter *f = NULL; if (!name) return NULL; while ((f = avfilter_next(f))) if (!strcmp(f->name, name)) - return f; + return (AVFilter *)f; return NULL; } |