FFmpeg
Data Structures | Macros | Functions
assenc.c File Reference
#include <string.h>
#include "avcodec.h"
#include "ass.h"
#include "libavutil/avstring.h"
#include "libavutil/internal.h"
#include "libavutil/mem.h"

Go to the source code of this file.

Data Structures

struct  ASSEncodeContext
 

Macros

#define SKIP_ENTRY(ptr)
 

Functions

static av_cold int ass_encode_init (AVCodecContext *avctx)
 
static int ass_encode_frame (AVCodecContext *avctx, unsigned char *buf, int bufsize, const AVSubtitle *sub)
 

Macro Definition Documentation

◆ SKIP_ENTRY

#define SKIP_ENTRY (   ptr)
Value:
do { \
char *sep = strchr(ptr, ','); \
if (sep) \
ptr = sep + 1; \
} while (0)

Function Documentation

◆ ass_encode_init()

static av_cold int ass_encode_init ( AVCodecContext avctx)
static

Definition at line 34 of file assenc.c.

◆ ass_encode_frame()

static int ass_encode_frame ( AVCodecContext avctx,
unsigned char *  buf,
int  bufsize,
const AVSubtitle sub 
)
static

Definition at line 45 of file assenc.c.