aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/cache.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-02-06 01:02:45 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-02-06 02:04:09 +0100
commite81e0b9991c3f00f05c496fdbb53471b2803bbe8 (patch)
treef68373c3c14ad0bc9d9ee935ae51d4bb9cd509a0 /libavformat/cache.c
parent8d756c0d55007ba13f69881d4fa1f2ad2b898a9b (diff)
downloadffmpeg-e81e0b9991c3f00f05c496fdbb53471b2803bbe8.tar.gz
cache: fix "warning: passing argument 2 of ‘av_tempfile’ from incompatible pointer type"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/cache.c')
-rw-r--r--libavformat/cache.c2
1 files changed, 1 insertions, 1 deletions
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);