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

Go to the source code of this file.

Functions

static int ads_probe (const AVProbeData *p)
 
static int ads_read_header (AVFormatContext *s)
 
static int ads_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const FFInputFormat ff_ads_demuxer
 

Function Documentation

◆ ads_probe()

static int ads_probe ( const AVProbeData p)
static

Definition at line 27 of file ads.c.

◆ ads_read_header()

static int ads_read_header ( AVFormatContext s)
static

Definition at line 36 of file ads.c.

◆ ads_read_packet()

static int ads_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 74 of file ads.c.

Variable Documentation

◆ ff_ads_demuxer

const FFInputFormat ff_ads_demuxer
Initial value:
= {
.p.name = "ads",
.p.long_name = NULL_IF_CONFIG_SMALL("Sony PS2 ADS"),
.p.extensions = "ads,ss2",
.read_probe = ads_probe,
.read_header = ads_read_header,
.read_packet = ads_read_packet,
}

Definition at line 84 of file ads.c.

ads_probe
static int ads_probe(const AVProbeData *p)
Definition: ads.c:27
ads_read_packet
static int ads_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: ads.c:74
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
ads_read_header
static int ads_read_header(AVFormatContext *s)
Definition: ads.c:36