diff options
Diffstat (limited to 'libavformat/cache.c')
-rw-r--r-- | libavformat/cache.c | 2 |
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; |