FFmpeg
Functions | Variables
luodatdec.c File Reference
#include "libavutil/intreadwrite.h"
#include "avio_internal.h"
#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Functions

static int dat_probe (const AVProbeData *p)
 
static int dat_read_header (AVFormatContext *s)
 
static int dat_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const AVInputFormat ff_luodat_demuxer
 

Function Documentation

◆ dat_probe()

static int dat_probe ( const AVProbeData p)
static

Definition at line 28 of file luodatdec.c.

◆ dat_read_header()

static int dat_read_header ( AVFormatContext s)
static

Definition at line 48 of file luodatdec.c.

◆ dat_read_packet()

static int dat_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 57 of file luodatdec.c.

Variable Documentation

◆ ff_luodat_demuxer

const AVInputFormat ff_luodat_demuxer
Initial value:
= {
.name = "luodat",
.long_name = NULL_IF_CONFIG_SMALL("Video CCTV DAT"),
.read_probe = dat_probe,
.read_header = dat_read_header,
.read_packet = dat_read_packet,
.extensions = "dat",
}

Definition at line 118 of file luodatdec.c.

AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:480
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:115
dat_read_packet
static int dat_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: luodatdec.c:57
dat_probe
static int dat_probe(const AVProbeData *p)
Definition: luodatdec.c:28
dat_read_header
static int dat_read_header(AVFormatContext *s)
Definition: luodatdec.c:48