microdvdenc.c File Reference
#include <inttypes.h>
#include "avformat.h"
#include "internal.h"
Include dependency graph for microdvdenc.c:

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

AVOutputFormat ff_microdvd_muxer
 

Function Documentation

static int microdvd_write_header ( struct AVFormatContext s)
static

Definition at line 26 of file microdvdenc.c.

static int microdvd_write_packet ( AVFormatContext avf,
AVPacket pkt 
)
static

Definition at line 46 of file microdvdenc.c.

Variable Documentation

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,
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:352
static int microdvd_write_packet(AVFormatContext *avf, AVPacket *pkt)
Definition: microdvdenc.c:46
static int microdvd_write_header(struct AVFormatContext *s)
Definition: microdvdenc.c:26

Definition at line 58 of file microdvdenc.c.