#include "libavutil/avstring.h"
#include "libavutil/opt.h"
#include "avformat.h"
#include <fcntl.h>
#include <sys/stat.h>
#include <stdlib.h>
#include "os_support.h"
#include "url.h"
Go to the source code of this file.
Data Structures | |
struct | FileContext |
Defines | |
#define | S_ISFIFO(m) 0 |
Functions | |
static int | file_read (URLContext *h, unsigned char *buf, int size) |
static int | file_write (URLContext *h, const unsigned char *buf, int size) |
static int | file_get_handle (URLContext *h) |
static int | file_check (URLContext *h, int mask) |
Variables | |
static const AVOption | file_options [] |
static const AVClass | file_class |
static int file_check | ( | URLContext * | h, | |
int | mask | |||
) | [static] |
static int file_get_handle | ( | URLContext * | h | ) | [static] |
static int file_read | ( | URLContext * | h, | |
unsigned char * | buf, | |||
int | size | |||
) | [static] |
static int file_write | ( | URLContext * | h, | |
const unsigned char * | buf, | |||
int | size | |||
) | [static] |
const AVClass file_class [static] |
Initial value:
{ .class_name = "file", .item_name = av_default_item_name, .option = file_options, .version = LIBAVUTIL_VERSION_INT, }
const AVOption file_options[] [static] |
Initial value:
{ { "truncate", "Truncate existing files on write", 0x42, AV_OPT_TYPE_INT, { .i64 = 1 }, 0, 1, AV_OPT_FLAG_ENCODING_PARAM }, { NULL } }