FFmpeg
Functions | Variables
mgsts.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavutil/intfloat.h"
#include "avformat.h"
#include "riff.h"

Go to the source code of this file.

Functions

static int read_probe (const AVProbeData *p)
 
static int read_header (AVFormatContext *s)
 
static int read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

AVInputFormat ff_mgsts_demuxer
 

Function Documentation

◆ read_probe()

static int read_probe ( const AVProbeData p)
static

Definition at line 27 of file mgsts.c.

◆ read_header()

static int read_header ( AVFormatContext s)
static

Definition at line 36 of file mgsts.c.

◆ read_packet()

static int read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 71 of file mgsts.c.

Variable Documentation

◆ ff_mgsts_demuxer

AVInputFormat ff_mgsts_demuxer
Initial value:
= {
.name = "mgsts",
.long_name = NULL_IF_CONFIG_SMALL("Metal Gear Solid: The Twin Snakes"),
.read_probe = read_probe,
.read_header = read_header,
.read_packet = read_packet,
}

Definition at line 99 of file mgsts.c.

read_probe
static int read_probe(const AVProbeData *p)
Definition: mgsts.c:27
read_header
static int read_header(AVFormatContext *s)
Definition: mgsts.c:36
AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:468
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:188
read_packet
static int read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: mgsts.c:71