FFmpeg
Functions | Variables
boadec.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavcodec/internal.h"
#include "avformat.h"
#include "demux.h"
#include "internal.h"

Go to the source code of this file.

Functions

static int probe (const AVProbeData *p)
 
static int read_header (AVFormatContext *s)
 
static int read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const FFInputFormat ff_boa_demuxer
 

Function Documentation

◆ probe()

static int probe ( const AVProbeData p)
static

Definition at line 28 of file boadec.c.

◆ read_header()

static int read_header ( AVFormatContext s)
static

Definition at line 45 of file boadec.c.

◆ read_packet()

static int read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 75 of file boadec.c.

Variable Documentation

◆ ff_boa_demuxer

const FFInputFormat ff_boa_demuxer
Initial value:
= {
.p.name = "boa",
.p.long_name = NULL_IF_CONFIG_SMALL("Black Ops Audio"),
.p.flags = AVFMT_GENERIC_INDEX,
.read_probe = probe,
.read_header = read_header,
.read_packet = read_packet,
}

Definition at line 82 of file boadec.c.

probe
static int probe(const AVProbeData *p)
Definition: boadec.c:28
read_packet
static int read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: boadec.c:75
AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:480
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
read_header
static int read_header(AVFormatContext *s)
Definition: boadec.c:45