FFmpeg
Functions | Variables
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.

Functions

static int rso_read_header (AVFormatContext *s)
 

Variables

AVInputFormat ff_rso_demuxer
 

Function Documentation

◆ rso_read_header()

static int rso_read_header ( AVFormatContext s)
static

Definition at line 30 of file rsodec.c.

Variable Documentation

◆ ff_rso_demuxer

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 = ff_pcm_read_packet,
.read_seek = ff_pcm_read_seek,
.codec_tag = (const AVCodecTag* const []){ff_codec_rso_tags, 0},
}

Definition at line 75 of file rsodec.c.

AVCodecTag
Definition: internal.h:44
ff_codec_rso_tags
const AVCodecTag ff_codec_rso_tags[]
Definition: rso.c:26
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:188
rso_read_header
static int rso_read_header(AVFormatContext *s)
Definition: rsodec.c:30
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