projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c439b4
)
avfilter: fix const use of avfilter_next
author
Vittorio Giovara
<vittorio.giovara@gmail.com>
Mon, 28 Oct 2013 01:58:13 +0000
(
02:58
+0100)
committer
Anton Khirnov
<anton@khirnov.net>
Mon, 28 Oct 2013 06:58:23 +0000
(07:58 +0100)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavfilter/avfilter.c
patch
|
blob
|
history
diff --git
a/libavfilter/avfilter.c
b/libavfilter/avfilter.c
index
68e0f2c
..
b18c0cb
100644
(file)
--- 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)