cmdutils: add missing const qualifier

Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
Mans Rullgard 2011-06-04 16:47:15 +01:00
parent 61ec024d39
commit 42abb9a80d
1 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,7 @@ int opt_default(const char *opt, const char *arg){
AVCodec *p = NULL;
AVOutputFormat *oformat = NULL;
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))
break;
}