FFmpeg
|
#include "config.h"
#include "avutil.h"
#include "file_open.h"
#include "mem.h"
#include <stdarg.h>
#include <fcntl.h>
#include <sys/stat.h>
Go to the source code of this file.
Data Structures | |
struct | FileLogContext |
Macros | |
#define | O_BINARY 0 |
#define | O_EXCL 0 |
Functions | |
int | avpriv_open (const char *filename, int flags,...) |
A wrapper for open() setting O_CLOEXEC. More... | |
int | avpriv_tempfile (const char *prefix, char **filename, int log_offset, void *log_ctx) |
Wrapper to work around the lack of mkstemp() on mingw. More... | |
FILE * | avpriv_fopen_utf8 (const char *path, const char *mode) |
Open a file using a UTF-8 filename. More... | |
Variables | |
static const AVClass | file_log_ctx_class |
#define O_BINARY 0 |
#define O_EXCL 0 |
A wrapper for open() setting O_CLOEXEC.
Definition at line 67 of file file_open.c.
Referenced by av_file_map(), avpriv_fopen_utf8(), bktr_init(), fbdev_read_header(), fbdev_write_header(), ff_fbdev_get_device_list(), and ff_oss_audio_open().
Wrapper to work around the lack of mkstemp() on mingw.
Also, tries to create file in /tmp first, if possible. *prefix can be a character constant; *filename will be allocated internally.
Definition at line 111 of file file_open.c.
Referenced by cache_open(), and xvid_encode_init().
FILE* avpriv_fopen_utf8 | ( | const char * | path, |
const char * | mode | ||
) |
Open a file using a UTF-8 filename.
Definition at line 159 of file file_open.c.
Referenced by binary_export(), config_input(), disp_tree(), dump_curves(), ff_opencl_filter_load_program_from_file(), generate_kernel(), init(), open_model(), parse_ifo_palette(), populate_ipfs_gateway(), read_classify_label_file(), read_detect_label_file(), read_random(), and xml_export().
|
static |
Definition at line 102 of file file_open.c.
Referenced by avpriv_tempfile().