static int vda_h264_start_frame(AVCodecContext *avctx,

                                av_unused const uint8_t *buffer,

                                av_unused uint32_t size)

{

    VDAContext *vda = avctx->internal->hwaccel_priv_data;

    struct vda_context *vda_ctx         = avctx->hwaccel_context;



    if (!vda_ctx->decoder)

        return -1;



    vda->bitstream_size = 0;



    return 0;

}

static int vda_h264_start_frame(AVCodecContext *avctx,

                                av_unused const uint8_t *buffer,

                                av_unused uint32_t size)

{

    VDAContext *vda = avctx->internal->hwaccel_priv_data;

    struct vda_context *vda_ctx         = avctx->hwaccel_context;



    if (!vda_ctx->decoder)

        return -1;



    vda->bitstream_size = 0;



    return 0;

}

static int FUNC_0(AVCodecContext *VAR_0,

                                av_unused const VAR_1 *buffer,

                                av_unused uint32_t size)

{

    VDAContext *vda = VAR_0->internal->hwaccel_priv_data;

    struct vda_context *VAR_2         = VAR_0->hwaccel_context;



    if (!VAR_2->decoder)

        return -1;



    vda->bitstream_size = 0;



    return 0;

}

static int FUNC_0(AVCodecContext *VAR_0,
av_unused const VAR_1 *buffer,
av_unused uint32_t size)
{ VDAContext *vda = VAR_0->internal->hwaccel_priv_data; struct vda_context *VAR_2         = VAR_0->hwaccel_context; if (!VAR_2->decoder)
return -1; vda->bitstream_size = 0; return 0; }