FFmpeg
Functions | Variables
ads.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 ads_probe (const AVProbeData *p)
 
static int ads_read_header (AVFormatContext *s)
 
static int ads_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

AVInputFormat ff_ads_demuxer
 

Function Documentation

◆ ads_probe()

static int ads_probe ( const AVProbeData p)
static

Definition at line 26 of file ads.c.

◆ ads_read_header()

static int ads_read_header ( AVFormatContext s)
static

Definition at line 35 of file ads.c.

◆ ads_read_packet()

static int ads_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 73 of file ads.c.

Variable Documentation

◆ ff_ads_demuxer

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

Definition at line 83 of file ads.c.

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