FFmpeg
Functions | Variables
dfa.c File Reference
#include <inttypes.h>
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "demux.h"
#include "internal.h"

Go to the source code of this file.

Functions

static int dfa_probe (const AVProbeData *p)
 
static int dfa_read_header (AVFormatContext *s)
 
static int dfa_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const FFInputFormat ff_dfa_demuxer
 

Function Documentation

◆ dfa_probe()

static int dfa_probe ( const AVProbeData p)
static

Definition at line 29 of file dfa.c.

◆ dfa_read_header()

static int dfa_read_header ( AVFormatContext s)
static

Definition at line 40 of file dfa.c.

◆ dfa_read_packet()

static int dfa_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 82 of file dfa.c.

Variable Documentation

◆ ff_dfa_demuxer

const FFInputFormat ff_dfa_demuxer
Initial value:
= {
.p.name = "dfa",
.p.long_name = NULL_IF_CONFIG_SMALL("Chronomaster DFA"),
.p.flags = AVFMT_GENERIC_INDEX,
.read_probe = dfa_probe,
.read_header = dfa_read_header,
.read_packet = dfa_read_packet,
}

Definition at line 124 of file dfa.c.

AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:480
dfa_read_packet
static int dfa_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: dfa.c:82
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:106
dfa_probe
static int dfa_probe(const AVProbeData *p)
Definition: dfa.c:29
dfa_read_header
static int dfa_read_header(AVFormatContext *s)
Definition: dfa.c:40