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_close ( URLContext h  )  [static]

Definition at line 85 of file file.c.

static int file_get_handle ( URLContext h  )  [static]

Definition at line 91 of file file.c.

static int file_open ( URLContext h,
const char *  filename,
int  flags 
) [static]

Definition at line 37 of file file.c.

static int file_read ( URLContext h,
unsigned char *  buf,
int  size 
) [static]

Definition at line 61 of file file.c.

static int64_t file_seek ( URLContext h,
int64_t  pos,
int  whence 
) [static]

Definition at line 74 of file file.c.

static int file_write ( URLContext h,
unsigned char *  buf,
int  size 
) [static]

Definition at line 67 of file file.c.

static int pipe_open ( URLContext h,
const char *  filename,
int  flags 
) [static]

Definition at line 108 of file file.c.


Variable Documentation

Initial value:

 {
    "file",
    file_open,
    file_read,
    file_write,
    file_seek,
    file_close,
    .url_get_file_handle = file_get_handle,
}

Definition at line 96 of file file.c.

Initial value:

 {
    "pipe",
    pipe_open,
    file_read,
    file_write,
    .url_get_file_handle = file_get_handle,
}

Definition at line 130 of file file.c.


Generated on Fri Oct 26 02:36:54 2012 for FFmpeg by  doxygen 1.5.8