Logo Search packages:      
Sourcecode: xmms-wma version File versions  Download package

void* av_fast_realloc ( void *  ptr,
unsigned int *  size,
unsigned int  min_size 

realloc which does nothing if the block is large enough

Definition at line 58 of file utils.c.

References av_realloc().

    if(min_size < *size) 
        return ptr;
    *size= min_size + 10*1024;

    return av_realloc(ptr, *size);

Generated by  Doxygen 1.6.0   Back to index