FFmpeg
Functions | Variables
vag.c File Reference
#include "libavutil/channel_layout.h"
#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Functions

static int vag_probe (const AVProbeData *p)
 
static int vag_read_header (AVFormatContext *s)
 
static int vag_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const AVInputFormat ff_vag_demuxer
 

Function Documentation

◆ vag_probe()

static int vag_probe ( const AVProbeData p)
static

Definition at line 26 of file vag.c.

◆ vag_read_header()

static int vag_read_header ( AVFormatContext s)
static

Definition at line 34 of file vag.c.

◆ vag_read_packet()

static int vag_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 69 of file vag.c.

Variable Documentation

◆ ff_vag_demuxer

const AVInputFormat ff_vag_demuxer
Initial value:
= {
.name = "vag",
.long_name = NULL_IF_CONFIG_SMALL("Sony PS2 VAG"),
.read_probe = vag_probe,
.read_header = vag_read_header,
.read_packet = vag_read_packet,
.extensions = "vag",
}

Definition at line 76 of file vag.c.

vag_read_header
static int vag_read_header(AVFormatContext *s)
Definition: vag.c:34
vag_read_packet
static int vag_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: vag.c:69
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
vag_probe
static int vag_probe(const AVProbeData *p)
Definition: vag.c:26