FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
assdec.c File Reference
#include <string.h>
#include "avcodec.h"
#include "ass.h"
#include "ass_split.h"
#include "libavutil/internal.h"
#include "libavutil/mem.h"

Go to the source code of this file.

Functions

static av_cold int ass_decode_init (AVCodecContext *avctx)
 
static int ass_decode_frame (AVCodecContext *avctx, void *data, int *got_sub_ptr, AVPacket *avpkt)
 
static int ass_decode_close (AVCodecContext *avctx)
 

Variables

AVCodec ff_ass_decoder
 

Function Documentation

static av_cold int ass_decode_init ( AVCodecContext avctx)
static

Definition at line 30 of file assdec.c.

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

Definition at line 44 of file assdec.c.

static int ass_decode_close ( AVCodecContext avctx)
static

Definition at line 67 of file assdec.c.

Variable Documentation

AVCodec ff_ass_decoder
Initial value:
= {
.name = "ass",
.long_name = NULL_IF_CONFIG_SMALL("SSA (SubStation Alpha) subtitle"),
.init = ass_decode_init,
.decode = ass_decode_frame,
.close = ass_decode_close,
}

Definition at line 74 of file assdec.c.