Beispiel #1
0
static av_cold int mss1_decode_end(AVCodecContext *avctx)
{
    MSS1Context * const ctx = avctx->priv_data;

    av_frame_free(&ctx->pic);
    ff_mss12_decode_end(&ctx->ctx);

    return 0;
}
Beispiel #2
0
static av_cold int mss1_decode_end(AVCodecContext *avctx)
{
    MSS1Context * const ctx = avctx->priv_data;

    if (ctx->pic.data[0])
        avctx->release_buffer(avctx, &ctx->pic);
    ff_mss12_decode_end(&ctx->ctx);

    return 0;
}