libavformat/file.c File Reference
#include "libavutil/avstring.h"
#include "avformat.h"
#include <fcntl.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <stdlib.h>
#include "os_support.h"
Go to the source code of this file.
|
Functions |
static int | file_open (URLContext *h, const char *filename, int flags) |
static int | file_read (URLContext *h, unsigned char *buf, int size) |
static int | file_write (URLContext *h, unsigned char *buf, int size) |
static int64_t | file_seek (URLContext *h, int64_t pos, int whence) |
static int | file_close (URLContext *h) |
static int | file_get_handle (URLContext *h) |
static int | pipe_open (URLContext *h, const char *filename, int flags) |
Variables |
URLProtocol | file_protocol |
URLProtocol | pipe_protocol |
Function Documentation
static int file_get_handle |
( |
URLContext * |
h |
) |
[static] |
static int file_open |
( |
URLContext * |
h, |
|
|
const char * |
filename, |
|
|
int |
flags | |
|
) |
| | [static] |
static int file_read |
( |
URLContext * |
h, |
|
|
unsigned char * |
buf, |
|
|
int |
size | |
|
) |
| | [static] |
static int64_t file_seek |
( |
URLContext * |
h, |
|
|
int64_t |
pos, |
|
|
int |
whence | |
|
) |
| | [static] |
static int file_write |
( |
URLContext * |
h, |
|
|
unsigned char * |
buf, |
|
|
int |
size | |
|
) |
| | [static] |
static int pipe_open |
( |
URLContext * |
h, |
|
|
const char * |
filename, |
|
|
int |
flags | |
|
) |
| | [static] |
Variable Documentation
Initial value:
Definition at line 96 of file file.c.
Initial value:
Definition at line 130 of file file.c.