FFmpeg
Functions | Variables
luodatdec.c File Reference
#include "libavutil/intreadwrite.h"
#include "avio_internal.h"
#include "avformat.h"
#include "demux.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 FFInputFormat ff_luodat_demuxer
 

Function Documentation

◆ dat_probe()

static int dat_probe ( const AVProbeData p)
static

Definition at line 29 of file luodatdec.c.

◆ dat_read_header()

static int dat_read_header ( AVFormatContext s)
static

Definition at line 49 of file luodatdec.c.

◆ dat_read_packet()

static int dat_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 58 of file luodatdec.c.

Variable Documentation

◆ ff_luodat_demuxer

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

Definition at line 119 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:94
dat_read_packet
static int dat_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: luodatdec.c:58
dat_probe
static int dat_probe(const AVProbeData *p)
Definition: luodatdec.c:29
dat_read_header
static int dat_read_header(AVFormatContext *s)
Definition: luodatdec.c:49