Example #1
0
static struct ta_header *get_header(void *ptr)
{
    return ptr ? PTR_TO_HEADER(ptr) : NULL;
}
Example #2
0
File: ta.c Project: Akemi/mpv
static struct ta_header *get_header(void *ptr)
{
    struct ta_header *h = ptr ? PTR_TO_HEADER(ptr) : NULL;
    ta_dbg_check_header(h);
    return h;
}