static int mxf_read_source_clip(MXFStructuralComponent *source_clip, ByteIOContext *pb, int tag)

{

    switch(tag) {

    case 0x0202:

        source_clip->duration = get_be64(pb);

        break;

    case 0x1201:

        source_clip->start_position = get_be64(pb);

        break;

    case 0x1101:

        /* UMID, only get last 16 bytes */

        url_fskip(pb, 16);

        get_buffer(pb, source_clip->source_package_uid, 16);

        break;

    case 0x1102:

        source_clip->source_track_id = get_be32(pb);

        break;

    }

    return 0;

}

static int mxf_read_source_clip(MXFStructuralComponent *source_clip, ByteIOContext *pb, int tag)

{

    switch(tag) {

    case 0x0202:

        source_clip->duration = get_be64(pb);

        break;

    case 0x1201:

        source_clip->start_position = get_be64(pb);

        break;

    case 0x1101:

        

        url_fskip(pb, 16);

        get_buffer(pb, source_clip->source_package_uid, 16);

        break;

    case 0x1102:

        source_clip->source_track_id = get_be32(pb);

        break;

    }

    return 0;

}

static int mxf_read_source_clip(MXFStructuralComponent *source_clip, ByteIOContext *pb, int tag)
static int FUNC_0(MXFStructuralComponent *VAR_0, ByteIOContext *VAR_1, int VAR_2)

{

    switch(VAR_2) {

    case 0x0202:

        VAR_0->duration = get_be64(VAR_1);

        break;

    case 0x1201:

        VAR_0->start_position = get_be64(VAR_1);

        break;

    case 0x1101:

        

        url_fskip(VAR_1, 16);

        get_buffer(VAR_1, VAR_0->source_package_uid, 16);

        break;

    case 0x1102:

        VAR_0->source_track_id = get_be32(VAR_1);

        break;

    }

    return 0;

}

static int FUNC_0(MXFStructuralComponent *VAR_0, ByteIOContext *VAR_1, int VAR_2)
{ switch(VAR_2) { case 0x0202:
VAR_0->duration = get_be64(VAR_1); break; case 0x1201:
VAR_0->start_position = get_be64(VAR_1); break; case 0x1101:
url_fskip(VAR_1, 16); get_buffer(VAR_1, VAR_0->source_package_uid, 16); break; case 0x1102:
VAR_0->source_track_id = get_be32(VAR_1); break; } return 0; }