static int get_moov_size(AVFormatContext *s)

{

    int ret;

    AVIOContext *moov_buf;

    MOVMuxContext *mov = s->priv_data;



    if ((ret = ffio_open_null_buf(&moov_buf)) < 0)

        return ret;

    mov_write_moov_tag(moov_buf, mov, s);

    return ffio_close_null_buf(moov_buf);

}

static int get_moov_size(AVFormatContext *s)

{

    int ret;

    AVIOContext *moov_buf;

    MOVMuxContext *mov = s->priv_data;



    if ((ret = ffio_open_null_buf(&moov_buf)) < 0)

        return ret;

    mov_write_moov_tag(moov_buf, mov, s);

    return ffio_close_null_buf(moov_buf);

}

    mov_write_moov_tag(moov_buf, mov, s);
static int FUNC_0(AVFormatContext *VAR_0)

{

    int VAR_1;

    AVIOContext *moov_buf;

    MOVMuxContext *mov = VAR_0->priv_data;



    if ((VAR_1 = ffio_open_null_buf(&moov_buf)) < 0)

        return VAR_1;

    mov_write_moov_tag(moov_buf, mov, VAR_0);

    return ffio_close_null_buf(moov_buf);

}

static int FUNC_0(AVFormatContext *VAR_0)
{ int VAR_1; AVIOContext *moov_buf; MOVMuxContext *mov = VAR_0->priv_data; if ((VAR_1 = ffio_open_null_buf(&moov_buf)) < 0)
return VAR_1; mov_write_moov_tag(moov_buf, mov, VAR_0); return ffio_close_null_buf(moov_buf); }