From e81e0b9991c3f00f05c496fdbb53471b2803bbe8 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 6 Feb 2012 01:02:45 +0100 Subject: [PATCH] =?UTF-8?q?cache:=20fix=20"warning:=20passing=20argument?= =?UTF-8?q?=202=20of=20=E2=80=98av=5Ftempfile=E2=80=99=20from=20incompatib?= =?UTF-8?q?le=20pointer=20type"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michael Niedermayer --- libavformat/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/cache.c b/libavformat/cache.c index 3e60aea48f..900554a82a 100644 --- a/libavformat/cache.c +++ b/libavformat/cache.c @@ -51,7 +51,7 @@ typedef struct Context { static int cache_open(URLContext *h, const char *arg, int flags) { - const char *buffername; + char *buffername; Context *c= h->priv_data; av_strstart(arg, "cache:", &arg);