Пример #1
0
void avfilter_link_free(AVFilterLink **link)
{
    if (!*link)
        return;

    av_frame_free(&(*link)->partial_buf);
    ff_framequeue_free(&(*link)->fifo);
    ff_video_frame_pool_uninit((FFVideoFramePool**)&(*link)->video_frame_pool);

    av_freep(link);
}
Пример #2
0
static av_cold void uninit(AVFilterContext *ctx)
{
    CueContext *s = ctx->priv;
    ff_framequeue_free(&s->queue);
}