FFmpeg
Loading...
Searching...
No Matches
bonk.c File Reference
#include "libavutil/intreadwrite.h"
#include "avio_internal.h"
#include "avformat.h"
#include "demux.h"
#include "internal.h"
#include "id3v2.h"
#include "rawdec.h"

Go to the source code of this file.

Functions

static int bonk_probe (const AVProbeData *p)
 
static int bonk_read_header (AVFormatContext *s)
 

Variables

const FFInputFormat ff_bonk_demuxer
 

Function Documentation

◆ bonk_probe()

static int bonk_probe ( const AVProbeData * p)
static

Definition at line 30 of file bonk.c.

◆ bonk_read_header()

static int bonk_read_header ( AVFormatContext * s)
static

Definition at line 56 of file bonk.c.

Variable Documentation

◆ ff_bonk_demuxer

const FFInputFormat ff_bonk_demuxer
Initial value:
= {
.p.name = "bonk",
.p.long_name = NULL_IF_CONFIG_SMALL("raw Bonk"),
.p.extensions = "bonk",
.p.priv_class = &ff_raw_demuxer_class,
.read_probe = bonk_probe,
.read_header = bonk_read_header,
.raw_codec_id = AV_CODEC_ID_BONK,
.priv_data_size = sizeof(FFRawDemuxerContext),
}
#define AVFMT_NO_BYTE_SEEK
Format does not allow seeking by bytes.
Definition avformat.h:506
#define AVFMT_NOGENSEARCH
Format does not allow to fall back on generic search.
Definition avformat.h:505
#define AVFMT_NOBINSEARCH
Format does not allow to fall back on binary search via read_timestamp.
Definition avformat.h:504
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition avformat.h:498
@ AV_CODEC_ID_BONK
Definition codec_id.h:550
static int bonk_read_header(AVFormatContext *s)
Definition bonk.c:56
static int bonk_probe(const AVProbeData *p)
Definition bonk.c:30
const AVClass ff_raw_demuxer_class
Definition rawdec.c:141
int ff_raw_read_partial_packet(AVFormatContext *s, AVPacket *pkt)
Definition rawdec.c:33
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition internal.h:88

Definition at line 105 of file bonk.c.