FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
mpl2dec.c File Reference

MPL2 subtitles decoder. More...

#include "avcodec.h"
#include "ass.h"
#include "libavutil/bprint.h"

Go to the source code of this file.

Functions

static int mpl2_event_to_ass (AVBPrint *buf, const char *p)
 
static int mpl2_decode_frame (AVCodecContext *avctx, void *data, int *got_sub_ptr, AVPacket *avpkt)
 

Variables

AVCodec ff_mpl2_decoder
 

Detailed Description

MPL2 subtitles decoder.

See Also
http://web.archive.org/web/20090328040233/http://napisy.ussbrowarek.org/mpl2-eng.html

Definition in file mpl2dec.c.

Function Documentation

static int mpl2_event_to_ass ( AVBPrint buf,
const char *  p 
)
static

Definition at line 32 of file mpl2dec.c.

static int mpl2_decode_frame ( AVCodecContext avctx,
void data,
int *  got_sub_ptr,
AVPacket avpkt 
)
static

Definition at line 66 of file mpl2dec.c.

Variable Documentation

AVCodec ff_mpl2_decoder
Initial value:
= {
.name = "mpl2",
.long_name = NULL_IF_CONFIG_SMALL("MPL2 subtitle"),
.decode = mpl2_decode_frame,
}

Definition at line 89 of file mpl2dec.c.