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

AVInputFormat ff_fsb_demuxer
 

Function Documentation

◆ fsb_probe()

static int fsb_probe ( const AVProbeData p)
static

Definition at line 28 of file fsb.c.

◆ fsb_read_header()

static int fsb_read_header ( AVFormatContext s)
static

Definition at line 37 of file fsb.c.

◆ fsb_read_packet()

static int fsb_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 165 of file fsb.c.

Variable Documentation

◆ ff_fsb_demuxer

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

Definition at line 202 of file fsb.c.

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