FFmpeg
Functions | Variables
fsb.c File Reference
#include "libavutil/avassert.h"
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "avio.h"
#include "demux.h"
#include "internal.h"

Go to the source code of this file.

Functions

static int fsb_probe (const AVProbeData *p)
 
static int fsb_read_header (AVFormatContext *s)
 
static int fsb_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const FFInputFormat ff_fsb_demuxer
 

Function Documentation

◆ fsb_probe()

static int fsb_probe ( const AVProbeData p)
static

Definition at line 29 of file fsb.c.

◆ fsb_read_header()

static int fsb_read_header ( AVFormatContext s)
static

Definition at line 38 of file fsb.c.

◆ fsb_read_packet()

static int fsb_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 166 of file fsb.c.

Variable Documentation

◆ ff_fsb_demuxer

const FFInputFormat ff_fsb_demuxer
Initial value:
= {
.p.name = "fsb",
.p.long_name = NULL_IF_CONFIG_SMALL("FMOD Sample Bank"),
.p.extensions = "fsb",
.p.flags = AVFMT_GENERIC_INDEX,
.read_probe = fsb_probe,
.read_header = fsb_read_header,
.read_packet = fsb_read_packet,
}

Definition at line 203 of file fsb.c.

AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:480
fsb_read_packet
static int fsb_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: fsb.c:166
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
fsb_probe
static int fsb_probe(const AVProbeData *p)
Definition: fsb.c:29
fsb_read_header
static int fsb_read_header(AVFormatContext *s)
Definition: fsb.c:38