FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
redspark.c File Reference
#include "libavcodec/bytestream.h"
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "avio.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  RedSparkContext
 

Macros

#define HEADER_SIZE   4096
 

Functions

static int redspark_probe (AVProbeData *p)
 
static int redspark_read_header (AVFormatContext *s)
 
static int redspark_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

AVInputFormat ff_redspark_demuxer
 

Macro Definition Documentation

#define HEADER_SIZE   4096

Definition at line 28 of file redspark.c.

Referenced by redspark_read_header().

Function Documentation

static int redspark_probe ( AVProbeData p)
static

Definition at line 34 of file redspark.c.

static int redspark_read_header ( AVFormatContext s)
static

Definition at line 54 of file redspark.c.

static int redspark_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 136 of file redspark.c.

Variable Documentation

AVInputFormat ff_redspark_demuxer
Initial value:
= {
.name = "redspark",
.long_name = NULL_IF_CONFIG_SMALL("RedSpark"),
.priv_data_size = sizeof(RedSparkContext),
.extensions = "rsd",
}

Definition at line 159 of file redspark.c.