summaryrefslogtreecommitdiff
path: root/cmdutils.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-06-04 16:47:15 +0100
committerMans Rullgard <mans@mansr.com>2011-06-04 18:09:01 +0100
commit42abb9a80da16d33ef7f54c3656b4d9524d03435 (patch)
tree90e246237918780fd283d89cb670503313534e80 /cmdutils.c
parent61ec024d39cc53672901791923e9cb1bd0fda9f3 (diff)
downloadffmpeg-42abb9a80da16d33ef7f54c3656b4d9524d03435.tar.gz
cmdutils: add missing const qualifier
Signed-off-by: Mans Rullgard <mans@mansr.com>
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;
}