[FFmpeg-cvslog] avfilter: fix 2 warnings about discarding const

Michael Niedermayer git at videolan.org
Thu May 9 00:03:53 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed May  8 23:53:31 2013 +0200| [e4723a82f7088f5d4ab32ada529c3f69ba3606b0] | committer: Michael Niedermayer

avfilter: fix 2 warnings about discarding const

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e4723a82f7088f5d4ab32ada529c3f69ba3606b0
---

 libavfilter/avfilter.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index 2dffcca..3f94dde 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -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)))



More information about the ffmpeg-cvslog mailing list