FFmpeg  4.0
Functions | Variables
rsoenc.c File Reference
#include "avformat.h"
#include "internal.h"
#include "riff.h"
#include "rso.h"

Go to the source code of this file.

Functions

static int rso_write_header (AVFormatContext *s)
 
static int rso_write_packet (AVFormatContext *s, AVPacket *pkt)
 
static int rso_write_trailer (AVFormatContext *s)
 

Variables

AVOutputFormat ff_rso_muxer
 

Function Documentation

◆ rso_write_header()

static int rso_write_header ( AVFormatContext s)
static

Definition at line 28 of file rsoenc.c.

◆ rso_write_packet()

static int rso_write_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 68 of file rsoenc.c.

◆ rso_write_trailer()

static int rso_write_trailer ( AVFormatContext s)
static

Definition at line 74 of file rsoenc.c.

Variable Documentation

◆ ff_rso_muxer

AVOutputFormat ff_rso_muxer
Initial value:
= {
.name = "rso",
.long_name = NULL_IF_CONFIG_SMALL("Lego Mindstorms RSO"),
.extensions = "rso",
.audio_codec = AV_CODEC_ID_PCM_U8,
.video_codec = AV_CODEC_ID_NONE,
.write_header = rso_write_header,
.write_packet = rso_write_packet,
.write_trailer = rso_write_trailer,
.codec_tag = (const AVCodecTag* const []){ff_codec_rso_tags, 0},
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static int rso_write_header(AVFormatContext *s)
Definition: rsoenc.c:28
static int rso_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rsoenc.c:68
const AVCodecTag ff_codec_rso_tags[]
Definition: rso.c:26
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:469
static int rso_write_trailer(AVFormatContext *s)
Definition: rsoenc.c:74

Definition at line 101 of file rsoenc.c.