FFmpeg
Functions | Variables
xmd.c File Reference
#include "libavutil/channel_layout.h"
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "demux.h"
#include "internal.h"
#include "pcm.h"

Go to the source code of this file.

Functions

static int xmd_probe (const AVProbeData *p)
 
static int xmd_read_header (AVFormatContext *s)
 

Variables

const FFInputFormat ff_xmd_demuxer
 

Function Documentation

◆ xmd_probe()

static int xmd_probe ( const AVProbeData p)
static

Definition at line 29 of file xmd.c.

◆ xmd_read_header()

static int xmd_read_header ( AVFormatContext s)
static

Definition at line 41 of file xmd.c.

Variable Documentation

◆ ff_xmd_demuxer

const FFInputFormat ff_xmd_demuxer
Initial value:
= {
.p.name = "xmd",
.p.long_name = NULL_IF_CONFIG_SMALL("Konami XMD"),
.p.flags = AVFMT_GENERIC_INDEX,
.p.extensions = "xmd",
.read_probe = xmd_probe,
.read_header = xmd_read_header,
.read_packet = ff_pcm_read_packet,
}

Definition at line 72 of file xmd.c.

xmd_probe
static int xmd_probe(const AVProbeData *p)
Definition: xmd.c:29
AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:480
xmd_read_header
static int xmd_read_header(AVFormatContext *s)
Definition: xmd.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:106
ff_pcm_read_packet
int ff_pcm_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: pcm.c:57