FFmpeg  4.0
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},
}
static int rso_read_header(AVFormatContext *s)
Definition: rsodec.c:30
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
int ff_pcm_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
Definition: pcm.c:52
const AVCodecTag ff_codec_rso_tags[]
Definition: rso.c:26
int ff_pcm_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: pcm.c:29

Definition at line 75 of file rsodec.c.