51 #if CONFIG_SSA_DECODER
55 const char *ptr = avpkt->
data;
63 duration = dialog->
end - dialog->
start;
71 *got_sub_ptr = avpkt->
size > 0;
81 .decode = ssa_decode_frame,
86 #if CONFIG_ASS_DECODER
87 static int ass_decode_frame(
AVCodecContext *avctx,
void *data,
int *got_sub_ptr,
92 const char *ptr = avpkt->
data;
107 *got_sub_ptr = avpkt->
size > 0;
117 .decode = ass_decode_frame,