summaryrefslogtreecommitdiff
path: root/libavformat/cache.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-10-16 21:32:06 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-10-16 21:51:28 +0200
commit74dbb5388e356c085b2f426a5533c08cdc163488 (patch)
treeb93f0769155db5cfa26f622428a50e8eac9ab38c /libavformat/cache.c
parent482aabd59a9da807e88fc7796b0764290b62cf11 (diff)
av_tempfile: Pass int log_offset, void *log_ctx
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 a95ad53713..74f008e0d1 100644
--- a/libavformat/cache.c
+++ b/libavformat/cache.c
@@ -63,7 +63,7 @@ static int cache_open(URLContext *h, const char *arg, int flags)
av_strstart(arg, "cache:", &arg);
- c->fd = av_tempfile("ffcache", &buffername);
+ c->fd = av_tempfile("ffcache", &buffername, 0, h);
if (c->fd < 0){
av_log(h, AV_LOG_ERROR, "Failed to create tempfile\n");
return c->fd;