#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/file.h"
#include "avformat.h"
#include <fcntl.h>
#include <unistd.h>
#include <sys/stat.h>
#include <stdlib.h>
#include "os_support.h"
#include "url.h"
Go to the source code of this file.
Typedef Documentation
support non continuous caching support keeping files support filling with a background thread
Function Documentation
static int cache_close |
( |
URLContext * |
h |
) |
[static] |
static int cache_open |
( |
URLContext * |
h, |
|
|
const char * |
arg, |
|
|
int |
flags | |
|
) |
| | [static] |
static int cache_read |
( |
URLContext * |
h, |
|
|
unsigned char * |
buf, |
|
|
int |
size | |
|
) |
| | [static] |
static int64_t cache_seek |
( |
URLContext * |
h, |
|
|
int64_t |
pos, |
|
|
int |
whence | |
|
) |
| | [static] |
Variable Documentation
Initial value: {
.name = "cache",
.url_open = cache_open,
.url_read = cache_read,
.url_seek = cache_seek,
.url_close = cache_close,
.priv_data_size = sizeof(Context),
}
Definition at line 129 of file cache.c.