FFmpeg
Functions | Variables
dcstr.c File Reference
#include "avformat.h"
#include "demux.h"
#include "internal.h"

Go to the source code of this file.

Functions

static int dcstr_probe (const AVProbeData *p)
 
static int dcstr_read_header (AVFormatContext *s)
 
static int dcstr_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const FFInputFormat ff_dcstr_demuxer
 

Function Documentation

◆ dcstr_probe()

static int dcstr_probe ( const AVProbeData p)
static

Definition at line 26 of file dcstr.c.

◆ dcstr_read_header()

static int dcstr_read_header ( AVFormatContext s)
static

Definition at line 34 of file dcstr.c.

◆ dcstr_read_packet()

static int dcstr_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 78 of file dcstr.c.

Variable Documentation

◆ ff_dcstr_demuxer

const FFInputFormat ff_dcstr_demuxer
Initial value:
= {
.p.name = "dcstr",
.p.long_name = NULL_IF_CONFIG_SMALL("Sega DC STR"),
.p.extensions = "str",
.read_probe = dcstr_probe,
.read_header = dcstr_read_header,
.read_packet = dcstr_read_packet,
}

Definition at line 84 of file dcstr.c.

AVFMT_NO_BYTE_SEEK
#define AVFMT_NO_BYTE_SEEK
Format does not allow seeking by bytes.
Definition: avformat.h:487
AVFMT_NOBINSEARCH
#define AVFMT_NOBINSEARCH
Format does not allow to fall back on binary search via read_timestamp.
Definition: avformat.h:485
dcstr_probe
static int dcstr_probe(const AVProbeData *p)
Definition: dcstr.c:26
AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:480
dcstr_read_packet
static int dcstr_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: dcstr.c:78
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:94
dcstr_read_header
static int dcstr_read_header(AVFormatContext *s)
Definition: dcstr.c:34