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

Go to the source code of this file.

Macros

#define FIRST   0xA8
 

Functions

static int sdr2_probe (AVProbeData *p)
 
static int sdr2_read_header (AVFormatContext *s)
 
static int sdr2_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

static const uint8_t header [24]
 
AVInputFormat ff_sdr2_demuxer
 

Macro Definition Documentation

#define FIRST   0xA8

Definition at line 34 of file sdr2.c.

Referenced by sdr2_read_header(), and sdr2_read_packet().

Function Documentation

static int sdr2_probe ( AVProbeData p)
static

Definition at line 26 of file sdr2.c.

static int sdr2_read_header ( AVFormatContext s)
static

Definition at line 36 of file sdr2.c.

static int sdr2_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 73 of file sdr2.c.

Variable Documentation

const uint8_t header[24]
static
AVInputFormat ff_sdr2_demuxer
Initial value:
= {
.name = "sdr2",
.long_name = NULL_IF_CONFIG_SMALL("SDR2"),
.read_probe = sdr2_probe,
.read_header = sdr2_read_header,
.read_packet = sdr2_read_packet,
.extensions = "sdr2",
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:175
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:473
static int sdr2_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: sdr2.c:73
static int sdr2_probe(AVProbeData *p)
Definition: sdr2.c:26
static int sdr2_read_header(AVFormatContext *s)
Definition: sdr2.c:36

Definition at line 113 of file sdr2.c.