From 408ed51cdb6c3e7e9d1ef0141b3c4e1c49121489 Mon Sep 17 00:00:00 2001 From: Luca Abeni Date: Fri, 15 Feb 2008 11:38:38 +0000 Subject: [PATCH] =?UTF-8?q?Fix=20opt.c:=20In=20function=20=E2=80=98av=5Fse?= =?UTF-8?q?t=5Fstring=E2=80=99:=20opt.c:164:=20warning:=20passing=20argume?= =?UTF-8?q?nt=209=20of=20=E2=80=98ff=5Feval2=E2=80=99=20from=20incompatibl?= =?UTF-8?q?e=20pointer=20type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 11937 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/opt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++);