MPL2 subtitles decoder.  
More...
#include "avcodec.h"
#include "ass.h"
#include "libavutil/bprint.h"
Go to the source code of this file.
◆ mpl2_event_to_ass()
  
  | 
        
          | static int mpl2_event_to_ass | ( | AVBPrint * | buf, |  
          |  |  | const char * | p |  
          |  | ) |  |  |  | static | 
 
 
◆ mpl2_decode_frame()
◆ ff_mpl2_decoder
Initial value:= {
    .name           = "mpl2",
}
int ff_ass_subtitle_header_default(AVCodecContext *avctx)
Generate a suitable AVCodecContext.subtitle_header for SUBTITLE_ASS with default style. 
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int mpl2_decode_frame(AVCodecContext *avctx, void *data, int *got_sub_ptr, AVPacket *avpkt)
void ff_ass_decoder_flush(AVCodecContext *avctx)
Helper to flush a text subtitles decoder making use of the FFASSDecoderContext. 
Definition at line 84 of file mpl2dec.c.