aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-08-30 10:39:27 +0000
committerPaul B Mahol <onemda@gmail.com>2013-08-30 12:41:36 +0000
commit48cd1037f661f8fc566c5aae1ea174b77b031704 (patch)
treea2abb6ef0b358a41b44fcc7371c861afa83a51eb
parent4f5454d20130160b18ac28b7fd9214a2dabe860b (diff)
downloadffmpeg-48cd1037f661f8fc566c5aae1ea174b77b031704.tar.gz
cmdutils: silence warning about incompatible pointer types
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r--cmdutils.c2
1 files changed, 1 insertions, 1 deletions
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;