libavformat/file.c File Reference

#include "libavutil/avstring.h"
#include "avformat.h"
#include <fcntl.h>
#include <unistd.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 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 79 of file file.c.

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

Definition at line 36 of file file.c.

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

Definition at line 60 of file file.c.

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

Definition at line 73 of file file.c.

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

Definition at line 66 of file file.c.

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

Definition at line 96 of file file.c.


Variable Documentation

Initial value:

Definition at line 85 of file file.c.

Initial value:

 {
    "pipe",
    pipe_open,
    file_read,
    file_write,
}

Definition at line 118 of file file.c.


Generated on Fri Oct 26 02:35:45 2012 for FFmpeg by  doxygen 1.5.8