unsigned int codec_get_tag(const CodecTag *tags, int id)

{

    while (tags->id != 0) {

        if (tags->id == id)

            return tags->tag;

        tags++;

    }

    return 0;

}

unsigned int codec_get_tag(const CodecTag *tags, int id)

{

    while (tags->id != 0) {

        if (tags->id == id)

            return tags->tag;

        tags++;

    }

    return 0;

}

unsigned int FUNC_0(const CodecTag *VAR_0, int VAR_1)

{

    while (VAR_0->VAR_1 != 0) {

        if (VAR_0->VAR_1 == VAR_1)

            return VAR_0->tag;

        VAR_0++;

    }

    return 0;

}

unsigned int FUNC_0(const CodecTag *VAR_0, int VAR_1)
{ while (VAR_0->VAR_1 != 0) { if (VAR_0->VAR_1 == VAR_1)
return VAR_0->tag; VAR_0++; } return 0; }