FFmpeg
Functions | Variables
astdec.c File Reference
#include "libavutil/channel_layout.h"
#include "libavutil/intreadwrite.h"
#include "avformat.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

AVInputFormat ff_ast_demuxer
 

Function Documentation

◆ ast_probe()

static int ast_probe ( const AVProbeData p)
static

Definition at line 28 of file astdec.c.

◆ ast_read_header()

static int ast_read_header ( AVFormatContext s)
static

Definition at line 41 of file astdec.c.

◆ ast_read_packet()

static int ast_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 81 of file astdec.c.

Variable Documentation

◆ ff_ast_demuxer

AVInputFormat ff_ast_demuxer
Initial value:
= {
.name = "ast",
.long_name = NULL_IF_CONFIG_SMALL("AST (Audio Stream)"),
.read_probe = ast_probe,
.read_header = ast_read_header,
.read_packet = ast_read_packet,
.extensions = "ast",
.codec_tag = (const AVCodecTag* const []){ff_codec_ast_tags, 0},
}

Definition at line 113 of file astdec.c.

AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:468
ast_read_header
static int ast_read_header(AVFormatContext *s)
Definition: astdec.c:41
AVCodecTag
Definition: internal.h:44
ff_codec_ast_tags
const AVCodecTag ff_codec_ast_tags[]
Definition: ast.c:25
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
ast_probe
static int ast_probe(const AVProbeData *p)
Definition: astdec.c:28
ast_read_packet
static int ast_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: astdec.c:81