Revision 490a022d libavutil/mem.c

View differences:

libavutil/mem.c
61 61
   memory allocator. You do not need to suppress this file because the
62 62
   linker will do it automatically. */
63 63

  
64
void *av_malloc(FF_INTERNAL_MEM_TYPE size)
64
void *av_malloc(size_t size)
65 65
{
66 66
    void *ptr = NULL;
67 67
#if CONFIG_MEMALIGN_HACK
......
116 116
    return ptr;
117 117
}
118 118

  
119
void *av_realloc(void *ptr, FF_INTERNAL_MEM_TYPE size)
119
void *av_realloc(void *ptr, size_t size)
120 120
{
121 121
#if CONFIG_MEMALIGN_HACK
122 122
    int diff;
......
153 153
    *ptr = NULL;
154 154
}
155 155

  
156
void *av_mallocz(FF_INTERNAL_MEM_TYPE size)
156
void *av_mallocz(size_t size)
157 157
{
158 158
    void *ptr = av_malloc(size);
159 159
    if (ptr)

Also available in: Unified diff