func:  nestegg_has_cues(nestegg * ctx) return ctx -> segment . cues . cue_point . head || ne_find_seek_for_id ( ctx -> segment . seek_head . head , ID_CUES ) ; static struct seek ne_find_seek_for_id(struct ebml_list_node * seek_head, uint64_t id) struct ebml_list * head ; struct ebml_list_node * seek ; struct ebml_binary binary_id ; struct seek * s ; while ( seek_head )  head = seek_head -> data; seek = head -> head; while ( seek )  s = seek -> data; if ( ne_get_binary ( s -> id , & binary_id ) == 0 && ne_buf_read_id ( binary_id . data , binary_id . length ) == id )  seek = seek -> next; seek_head = seek_head -> next; static ne_get_binary(struct ebml_type type, struct ebml_binary * value) if ( ! type . read )  assert ( type . type == TYPE_BINARY ); 