From 48cd1037f661f8fc566c5aae1ea174b77b031704 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Fri, 30 Aug 2013 10:39:27 +0000 Subject: cmdutils: silence warning about incompatible pointer types Signed-off-by: Paul B Mahol --- cmdutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmdutils.c') diff --git a/cmdutils.c b/cmdutils.c index ccb2b98b2d..79870cedde 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; -- cgit v1.2.1