cmdutils: add missing const qualifier
Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
parent
61ec024d39
commit
42abb9a80d
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user