medialeaf
struct medialeaf *mleaf = &mtable->mleaf[tp->cur_index];
struct medialeaf *rleaf = &mtable->mleaf[mtable->has_reset];
struct medialeaf mleaf[0];
u8 media_table_storage[(sizeof(struct mediatable) + 32*sizeof(struct medialeaf))];
struct medialeaf *leaf = &mtable->mleaf[i];