summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/opt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/opt.c b/libavcodec/opt.c
index b4819102f9..42e8eff9fa 100644
--- a/libavcodec/opt.c
+++ b/libavcodec/opt.c
@@ -151,7 +151,7 @@ const AVOption *av_set_string(void *obj, const char *name, const char *val){
char buf[256];
int cmd=0;
double d;
- char *error = NULL;
+ const char *error = NULL;
if(*val == '+' || *val == '-')
cmd= *(val++);