From 42abb9a80da16d33ef7f54c3656b4d9524d03435 Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Sat, 4 Jun 2011 16:47:15 +0100 Subject: cmdutils: add missing const qualifier Signed-off-by: Mans Rullgard --- cmdutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmdutils.c') 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; } -- cgit v1.2.3