static void matroska_merge_packets(AVPacket *out, AVPacket *in)

{

    out->data = av_realloc(out->data, out->size+in->size);

    memcpy(out->data+out->size, in->data, in->size);

    out->size += in->size;

    av_destruct_packet(in);

    av_free(in);

}

static void matroska_merge_packets(AVPacket *out, AVPacket *in)

{

    out->data = av_realloc(out->data, out->size+in->size);

    memcpy(out->data+out->size, in->data, in->size);

    out->size += in->size;

    av_destruct_packet(in);

    av_free(in);

}

static void matroska_merge_packets(AVPacket *out, AVPacket *in)     out->data = av_realloc(out->data, out->size+in->size);
static void FUNC_0(AVPacket *VAR_0, AVPacket *VAR_1)

{

    VAR_0->data = av_realloc(VAR_0->data, VAR_0->size+VAR_1->size);

    memcpy(VAR_0->data+VAR_0->size, VAR_1->data, VAR_1->size);

    VAR_0->size += VAR_1->size;

    av_destruct_packet(VAR_1);

    av_free(VAR_1);

}

static void FUNC_0(AVPacket *VAR_0, AVPacket *VAR_1)
{ VAR_0->data = av_realloc(VAR_0->data, VAR_0->size+VAR_1->size); memcpy(VAR_0->data+VAR_0->size, VAR_1->data, VAR_1->size); VAR_0->size += VAR_1->size; av_destruct_packet(VAR_1); av_free(VAR_1); }