FFmpeg
Functions | Variables
dfa.c File Reference
#include <inttypes.h>
#include "libavutil/intreadwrite.h"
#include "avformat.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

AVInputFormat ff_dfa_demuxer
 

Function Documentation

◆ dfa_probe()

static int dfa_probe ( const AVProbeData p)
static

Definition at line 28 of file dfa.c.

◆ dfa_read_header()

static int dfa_read_header ( AVFormatContext s)
static

Definition at line 39 of file dfa.c.

◆ dfa_read_packet()

static int dfa_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 81 of file dfa.c.

Variable Documentation

◆ ff_dfa_demuxer

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

Definition at line 123 of file dfa.c.

AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:463
dfa_read_packet
static int dfa_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: dfa.c:81
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:117
dfa_probe
static int dfa_probe(const AVProbeData *p)
Definition: dfa.c:28
dfa_read_header
static int dfa_read_header(AVFormatContext *s)
Definition: dfa.c:39