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

const 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

const 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 = ff_ast_codec_tags_list,
}

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
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:117
ast_probe
static int ast_probe(const AVProbeData *p)
Definition: astdec.c:28
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:81