OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61ec024
)
cmdutils: add missing const qualifier
author
Mans Rullgard
<mans@mansr.com>
Sat, 4 Jun 2011 15:47:15 +0000
(16:47 +0100)
committer
Mans Rullgard
<mans@mansr.com>
Sat, 4 Jun 2011 17:09:01 +0000
(18:09 +0100)
Signed-off-by: Mans Rullgard <mans@mansr.com>
cmdutils.c
patch
|
blob
|
history
diff --git
a/cmdutils.c
b/cmdutils.c
index
31866b5
..
b9a5d1b
100644
(file)
--- 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;
}