Commit 42abb9a8 authored by Mans Rullgard's avatar Mans Rullgard

cmdutils: add missing const qualifier

Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>
parent 61ec024d
...@@ -323,7 +323,7 @@ int opt_default(const char *opt, const char *arg){ ...@@ -323,7 +323,7 @@ int opt_default(const char *opt, const char *arg){
AVCodec *p = NULL; AVCodec *p = NULL;
AVOutputFormat *oformat = NULL; AVOutputFormat *oformat = NULL;
while ((p=av_codec_next(p))){ while ((p=av_codec_next(p))){
AVClass *c= p->priv_class; const AVClass *c = p->priv_class;
if(c && av_find_opt(&c, opt, NULL, 0, 0)) if(c && av_find_opt(&c, opt, NULL, 0, 0))
break; break;
} }
......
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