xine-lib 1.2.13-20230125hg15249
|
Functions | |
void * | mpeg2_malloc (unsigned size, mpeg2_alloc_t reason) |
void | mpeg2_free (void *buf) |
void | mpeg2_malloc_hooks (void *malloc(unsigned, mpeg2_alloc_t), int free(void *)) |
Variables | |
static void *(* | malloc_hook )(unsigned size, mpeg2_alloc_t reason) = NULL |
static int(* | free_hook )(void *buf) = NULL |
void mpeg2_free | ( | void * | buf | ) |
References free_hook.
Referenced by mpeg2_close(), and mpeg2_header_state_init().
void * mpeg2_malloc | ( | unsigned | size, |
mpeg2_alloc_t | reason ) |
References malloc_hook, and NULL.
Referenced by mpeg2_header_picture_finalize(), and mpeg2_init().
void mpeg2_malloc_hooks | ( | void * | mallocunsigned, mpeg2_alloc_t, |
int | freevoid * ) |
References free_hook, and malloc_hook.
|
static |
Referenced by mpeg2_free(), and mpeg2_malloc_hooks().
|
static |
Referenced by mpeg2_malloc(), and mpeg2_malloc_hooks().