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

Go to the source code of this file.

Functions

static int avr_probe (const AVProbeData *p)
 
static int avr_read_header (AVFormatContext *s)
 

Variables

const AVInputFormat ff_avr_demuxer
 

Function Documentation

◆ avr_probe()

static int avr_probe ( const AVProbeData p)
static

Definition at line 27 of file avr.c.

◆ avr_read_header()

static int avr_read_header ( AVFormatContext s)
static

Definition at line 40 of file avr.c.

Variable Documentation

◆ ff_avr_demuxer

const AVInputFormat ff_avr_demuxer
Initial value:
= {
.name = "avr",
.long_name = NULL_IF_CONFIG_SMALL("AVR (Audio Visual Research)"),
.read_probe = avr_probe,
.read_header = avr_read_header,
.read_packet = ff_pcm_read_packet,
.read_seek = ff_pcm_read_seek,
.extensions = "avr",
}

Definition at line 90 of file avr.c.

avr_read_header
static int avr_read_header(AVFormatContext *s)
Definition: avr.c:40
AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:480
avr_probe
static int avr_probe(const AVProbeData *p)
Definition: avr.c:27
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:115
ff_pcm_read_packet
int ff_pcm_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: pcm.c:29
ff_pcm_read_seek
int ff_pcm_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
Definition: pcm.c:56