| 705 | } |
| 706 | |
| 707 | void 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 | |
| 720 | static void decsubClose( hb_work_object_t * w ) |
| 721 | { |
no test coverage detected