static int matroska_read_packet(AVFormatContext *s, AVPacket *pkt)

{

    MatroskaDemuxContext *matroska = s->priv_data;

    int ret = 0;



    while (!ret && matroska_deliver_packet(matroska, pkt)) {

        if (matroska->done)

            return AVERROR_EOF;

        ret = matroska_parse_cluster(matroska);

    }



    return ret;

}

static int matroska_read_packet(AVFormatContext *s, AVPacket *pkt)

{

    MatroskaDemuxContext *matroska = s->priv_data;

    int ret = 0;



    while (!ret && matroska_deliver_packet(matroska, pkt)) {

        if (matroska->done)

            return AVERROR_EOF;

        ret = matroska_parse_cluster(matroska);

    }



    return ret;

}

    int ret = 0;     while (!ret && matroska_deliver_packet(matroska, pkt)) {         ret = matroska_parse_cluster(matroska);     return ret;
static int FUNC_0(AVFormatContext *VAR_0, AVPacket *VAR_1)

{

    MatroskaDemuxContext *matroska = VAR_0->priv_data;

    int VAR_2 = 0;



    while (!VAR_2 && matroska_deliver_packet(matroska, VAR_1)) {

        if (matroska->done)

            return AVERROR_EOF;

        VAR_2 = matroska_parse_cluster(matroska);

    }



    return VAR_2;

}

static int FUNC_0(AVFormatContext *VAR_0, AVPacket *VAR_1)
{ MatroskaDemuxContext *matroska = VAR_0->priv_data; int VAR_2 = 0; while (!VAR_2 && matroska_deliver_packet(matroska, VAR_1)) { if (matroska->done)
return AVERROR_EOF; VAR_2 = matroska_parse_cluster(matroska); } return VAR_2; }