FFmpeg
Functions | Variables
microdvdenc.c File Reference
#include <inttypes.h>
#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Functions

static int microdvd_write_header (struct AVFormatContext *s)
 
static int microdvd_write_packet (AVFormatContext *avf, AVPacket *pkt)
 

Variables

const AVOutputFormat ff_microdvd_muxer
 

Function Documentation

◆ microdvd_write_header()

static int microdvd_write_header ( struct AVFormatContext s)
static

Definition at line 26 of file microdvdenc.c.

◆ microdvd_write_packet()

static int microdvd_write_packet ( AVFormatContext avf,
AVPacket pkt 
)
static

Definition at line 46 of file microdvdenc.c.

Variable Documentation

◆ ff_microdvd_muxer

const AVOutputFormat ff_microdvd_muxer
Initial value:
= {
.name = "microdvd",
.long_name = NULL_IF_CONFIG_SMALL("MicroDVD subtitle format"),
.mime_type = "text/x-microdvd",
.extensions = "sub",
.write_header = microdvd_write_header,
.write_packet = microdvd_write_packet,
.subtitle_codec = AV_CODEC_ID_MICRODVD,
}

Definition at line 58 of file microdvdenc.c.

AVFMT_NOTIMESTAMPS
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:475
microdvd_write_packet
static int microdvd_write_packet(AVFormatContext *avf, AVPacket *pkt)
Definition: microdvdenc.c:46
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:117
microdvd_write_header
static int microdvd_write_header(struct AVFormatContext *s)
Definition: microdvdenc.c:26
AV_CODEC_ID_MICRODVD
@ AV_CODEC_ID_MICRODVD
Definition: codec_id.h:531