assdec.c File Reference
#include "avcodec.h"
#include "ass.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)
 

Variables

AVCodec ff_ass_decoder
 

Function Documentation

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

Definition at line 35 of file assdec.c.

static av_cold int ass_decode_init ( AVCodecContext avctx)
static

Definition at line 25 of file assdec.c.

Variable Documentation

AVCodec ff_ass_decoder
Initial value:
= {
.name = "ass",
.long_name = NULL_IF_CONFIG_SMALL("Advanced SubStation Alpha subtitle"),
.id = CODEC_ID_SSA,
.init = ass_decode_init,
.decode = ass_decode_frame,
}
static av_cold int ass_decode_init(AVCodecContext *avctx)
Definition: assdec.c:25
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:191
static int ass_decode_frame(AVCodecContext *avctx, void *data, int *got_sub_ptr, AVPacket *avpkt)
Definition: assdec.c:35

Definition at line 55 of file assdec.c.