summaryrefslogtreecommitdiff
path: root/libavcodec/opt.c
diff options
context:
space:
mode:
authorLuca Abeni <lucabe72@email.it>2008-02-15 11:38:38 +0000
committerLuca Abeni <lucabe72@email.it>2008-02-15 11:38:38 +0000
commit408ed51cdb6c3e7e9d1ef0141b3c4e1c49121489 (patch)
treeba5b036cf46e4054fa05e0745ad02ea70ebcc168 /libavcodec/opt.c
parent0d6fd5ec1385614889e55cf1bcd085954ebbb512 (diff)
Fix
opt.c: In function ‘av_set_string’: opt.c:164: warning: passing argument 9 of ‘ff_eval2’ from incompatible pointer type Originally committed as revision 11937 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/opt.c')
-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++);