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

Go to the source code of this file.

Functions

static int mods_probe (const AVProbeData *p)
 
static int mods_read_header (AVFormatContext *s)
 
static int mods_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const FFInputFormat ff_mods_demuxer
 

Function Documentation

◆ mods_probe()

static int mods_probe ( const AVProbeData p)
static

Definition at line 30 of file mods.c.

◆ mods_read_header()

static int mods_read_header ( AVFormatContext s)
static

Definition at line 43 of file mods.c.

◆ mods_read_packet()

static int mods_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 75 of file mods.c.

Variable Documentation

◆ ff_mods_demuxer

const FFInputFormat ff_mods_demuxer
Initial value:
= {
.p.name = "mods",
.p.long_name = NULL_IF_CONFIG_SMALL("MobiClip MODS"),
.p.extensions = "mods",
.p.flags = AVFMT_GENERIC_INDEX,
.read_probe = mods_probe,
.read_header = mods_read_header,
.read_packet = mods_read_packet,
}

Definition at line 95 of file mods.c.

mods_read_header
static int mods_read_header(AVFormatContext *s)
Definition: mods.c:43
AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:480
mods_probe
static int mods_probe(const AVProbeData *p)
Definition: mods.c:30
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
mods_read_packet
static int mods_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: mods.c:75