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

Go to the source code of this file.

Functions

static int ast_probe (const AVProbeData *p)
 
static int ast_read_header (AVFormatContext *s)
 
static int ast_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const FFInputFormat ff_ast_demuxer
 

Function Documentation

◆ ast_probe()

static int ast_probe ( const AVProbeData p)
static

Definition at line 29 of file astdec.c.

◆ ast_read_header()

static int ast_read_header ( AVFormatContext s)
static

Definition at line 42 of file astdec.c.

◆ ast_read_packet()

static int ast_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 82 of file astdec.c.

Variable Documentation

◆ ff_ast_demuxer

const FFInputFormat ff_ast_demuxer
Initial value:
= {
.p.name = "ast",
.p.long_name = NULL_IF_CONFIG_SMALL("AST (Audio Stream)"),
.p.extensions = "ast",
.p.flags = AVFMT_GENERIC_INDEX,
.p.codec_tag = ff_ast_codec_tags_list,
.read_probe = ast_probe,
.read_header = ast_read_header,
.read_packet = ast_read_packet,
}

Definition at line 115 of file astdec.c.

AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:480
ast_read_header
static int ast_read_header(AVFormatContext *s)
Definition: astdec.c:42
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
ast_probe
static int ast_probe(const AVProbeData *p)
Definition: astdec.c:29
ff_ast_codec_tags_list
const AVCodecTag *const ff_ast_codec_tags_list[]
Definition: ast.c:32
ast_read_packet
static int ast_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: astdec.c:82