avfilter: fix 2 warnings about discarding const
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 8 May 2013 21:53:31 +0000 (23:53 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 8 May 2013 21:55:06 +0000 (23:55 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/avfilter.c

index 2dffcca..3f94dde 100644 (file)
@@ -510,7 +510,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;
 
     /* find the filter that corresponds to prev */
     while (prev && (f = avfilter_next(f)))