mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 19:30:05 +00:00
cmdutils: silence warning about incompatible pointer types
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
4f5454d201
commit
48cd1037f6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user