From 25d32d8a69907a537c15b43af08fea44e9e96b95 Mon Sep 17 00:00:00 2001 From: lucabe Date: Fri, 15 Feb 2008 11:38:38 +0000 Subject: [PATCH] =?utf8?q?Fix=20opt.c:=20In=20function=20=E2=80=98av=5Fset?= =?utf8?q?=5Fstring=E2=80=99:=20opt.c:164:=20warning:=20passing=20argument?= =?utf8?q?=209=20of=20=E2=80=98ff=5Feval2=E2=80=99=20from=20incompatible?= =?utf8?q?=20pointer=20type?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11937 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b --- libavcodec/opt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/opt.c b/libavcodec/opt.c index b4819102f..42e8eff9f 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++); -- 2.11.4.GIT