[FFmpeg-cvslog] cmdutils: silence warning about incompatible pointer types

Paul B Mahol git at videolan.org
Fri Aug 30 14:45:36 CEST 2013


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Aug 30 10:39:27 2013 +0000| [48cd1037f661f8fc566c5aae1ea174b77b031704] | committer: Paul B Mahol

cmdutils: silence warning about incompatible pointer types

Signed-off-by: Paul B Mahol <onemda at gmail.com>

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

 cmdutils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmdutils.c b/cmdutils.c
index ccb2b98..79870ce 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -500,7 +500,7 @@ void parse_loglevel(int argc, char **argv, const OptionDef *options)
 static const AVOption *opt_find(void *obj, const char *name, const char *unit,
                             int opt_flags, int search_flags)
 {
-    AVOption *o = av_opt_find(obj, name, unit, opt_flags, search_flags);
+    const AVOption *o = av_opt_find(obj, name, unit, opt_flags, search_flags);
     if(o && !o->flags)
         return NULL;
     return o;



More information about the ffmpeg-cvslog mailing list