Revision dfde36a3

View differences:

libavformat/matroskadec.c
550 550

  
551 551
    /* if we re-call this, use our cached ID */
552 552
    if (matroska->peek_id != 0) {
553
        if (level_up)
554
            *level_up = 0;
555 553
        *id = matroska->peek_id;
556 554
        return 0;
557 555
    }
......
1084 1082
        res = ebml_parse_id(matroska, syntax, id, data);
1085 1083
        if (once)
1086 1084
            break;
1087

  
1088
        if (matroska->level_up) {
1089
            matroska->level_up--;
1090
            break;
1091
        }
1092 1085
    }
1093 1086

  
1094 1087
    return res;

Also available in: Unified diff