summaryrefslogtreecommitdiff
path: root/cmdutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmdutils.c')
-rw-r--r--cmdutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdutils.c b/cmdutils.c
index 31866b5563..b9a5d1b069 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -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;
}