rsodec.c File Reference
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "internal.h"
#include "pcm.h"
#include "riff.h"
#include "rso.h"

Go to the source code of this file.

Macros

#define BLOCK_SIZE   1024 /* in samples */

Functions

static int rso_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int rso_read_packet (AVFormatContext *s, AVPacket *pkt)

Variables

AVInputFormat ff_rso_demuxer

Macro Definition Documentation

#define BLOCK_SIZE   1024 /* in samples */

Definition at line 73 of file rsodec.c.

Referenced by rso_read_packet().

Function Documentation

static int rso_read_header ( AVFormatContext s,
AVFormatParameters ap 
)
static

Definition at line 30 of file rsodec.c.

static int rso_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 75 of file rsodec.c.

Variable Documentation

AVInputFormat ff_rso_demuxer
Initial value:
{
.name = "rso",
.long_name = NULL_IF_CONFIG_SMALL("Lego Mindstorms RSO format"),
.extensions = "rso",
.read_header = rso_read_header,
.read_packet = rso_read_packet,
.read_seek = pcm_read_seek,
.codec_tag = (const AVCodecTag* const []){ff_codec_rso_tags, 0},
}

Definition at line 91 of file rsodec.c.