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

Function Documentation

◆ mods_probe()

static int mods_probe ( const AVProbeData p)
static

Definition at line 29 of file mods.c.

◆ mods_read_header()

static int mods_read_header ( AVFormatContext s)
static

Definition at line 42 of file mods.c.

◆ mods_read_packet()

static int mods_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 74 of file mods.c.

Variable Documentation

◆ ff_mods_demuxer

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

Definition at line 94 of file mods.c.

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