[FFmpeg-cvslog] cache: fix "warning: passing argument 2 of ‘av_tempfile’ f =?UTF-8?Q?rom=20incompatible=20poin?==?UTF-8?Q?ter=20type?="

Michael Niedermayer git at videolan.org
Mon Feb 6 02:21:32 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Feb  6 01:02:45 2012 +0100| [e81e0b9991c3f00f05c496fdbb53471b2803bbe8] | committer: Michael Niedermayer

cache: fix "warning: passing argument 2 of ‘av_tempfile’ from incompatible pointer type"

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e81e0b9991c3f00f05c496fdbb53471b2803bbe8
---

 libavformat/cache.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/cache.c b/libavformat/cache.c
index 3e60aea..900554a 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);



More information about the ffmpeg-cvslog mailing list