Commit 48cd1037 authored by Paul B Mahol's avatar Paul B Mahol

cmdutils: silence warning about incompatible pointer types

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 4f5454d2
...@@ -500,7 +500,7 @@ void parse_loglevel(int argc, char **argv, const OptionDef *options) ...@@ -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, static const AVOption *opt_find(void *obj, const char *name, const char *unit,
int opt_flags, int search_flags) 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) if(o && !o->flags)
return NULL; return NULL;
return o; return o;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment