FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
lrcenc.c File Reference
#include <inttypes.h>
#include <stdint.h>
#include <string.h>
#include "avformat.h"
#include "internal.h"
#include "lrc.h"
#include "metadata.h"
#include "subtitles.h"
#include "version.h"
#include "libavutil/bprint.h"
#include "libavutil/dict.h"
#include "libavutil/log.h"
#include "libavutil/macros.h"

Go to the source code of this file.

Functions

static int lrc_write_header (AVFormatContext *s)
 
static int lrc_write_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

AVOutputFormat ff_lrc_muxer
 

Function Documentation

static int lrc_write_header ( AVFormatContext s)
static

Definition at line 37 of file lrcenc.c.

static int lrc_write_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 85 of file lrcenc.c.

Variable Documentation

AVOutputFormat ff_lrc_muxer
Initial value:
= {
.name = "lrc",
.long_name = NULL_IF_CONFIG_SMALL("LRC lyrics"),
.extensions = "lrc",
.priv_data_size = 0,
.write_header = lrc_write_header,
.write_packet = lrc_write_packet,
.subtitle_codec = AV_CODEC_ID_SUBRIP
}

Definition at line 142 of file lrcenc.c.