rsodec.c File Reference
#include "libavutil/channel_layout.h"
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "internal.h"
#include "pcm.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)
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 74 of file rsodec.c.

Referenced by rso_read_packet().

Function Documentation

static int rso_read_header ( AVFormatContext s)
static

Definition at line 30 of file rsodec.c.

static int rso_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 76 of file rsodec.c.

Variable Documentation

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

Definition at line 92 of file rsodec.c.