OSDN Git Service

Fix
authorLuca Abeni <lucabe72@email.it>
Fri, 15 Feb 2008 11:38:38 +0000 (11:38 +0000)
committerLuca Abeni <lucabe72@email.it>
Fri, 15 Feb 2008 11:38:38 +0000 (11:38 +0000)
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

libavcodec/opt.c

index b481910..42e8eff 100644 (file)
@@ -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++);