MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / decavsubClose

Function decavsubClose

libhb/decavsub.c:707–718  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

705}
706
707void decavsubClose( hb_decavsub_context_t * ctx )
708{
709 if (ctx == NULL)
710 {
711 return;
712 }
713 av_packet_free(&ctx->pkt);
714 hb_buffer_list_close(&ctx->list_pass);
715 avcodec_flush_buffers(ctx->context);
716 avcodec_free_context(&ctx->context);
717 free(ctx);
718}
719
720static void decsubClose( hb_work_object_t * w )
721{

Callers 5

decsrtInitFunction · 0.85
decsrtCloseFunction · 0.85
decsubCloseFunction · 0.85
decssaInitFunction · 0.85
decssaCloseFunction · 0.85

Calls 1

hb_buffer_list_closeFunction · 0.85

Tested by

no test coverage detected