void av_fast_malloc(void *ptr, unsigned int *size, size_t min_size)

{

    void **p = ptr;

    if (min_size < *size)

        return;

    min_size= FFMAX(17*min_size/16 + 32, min_size);

    av_free(*p);

    *p = av_malloc(min_size);

    if (!*p) min_size = 0;

    *size= min_size;

}

void av_fast_malloc(void *ptr, unsigned int *size, size_t min_size)

{

    void **p = ptr;

    if (min_size < *size)

        return;

    min_size= FFMAX(17*min_size/16 + 32, min_size);

    av_free(*p);

    *p = av_malloc(min_size);

    if (!*p) min_size = 0;

    *size= min_size;

}

void av_fast_malloc(void *ptr, unsigned int *size, size_t min_size)     *p = av_malloc(min_size);
void FUNC_0(void *VAR_0, unsigned int *VAR_1, size_t VAR_2)

{

    void **VAR_3 = VAR_0;

    if (VAR_2 < *VAR_1)

        return;

    VAR_2= FFMAX(17*VAR_2/16 + 32, VAR_2);

    av_free(*VAR_3);

    *VAR_3 = av_malloc(VAR_2);

    if (!*VAR_3) VAR_2 = 0;

    *VAR_1= VAR_2;

}

void FUNC_0(void *VAR_0, unsigned int *VAR_1, size_t VAR_2)
{ void **VAR_3 = VAR_0; if (VAR_2 < *VAR_1)
return; VAR_2= FFMAX(17*VAR_2/16 + 32, VAR_2); av_free(*VAR_3); *VAR_3 = av_malloc(VAR_2); if (!*VAR_3) VAR_2 = 0; *VAR_1= VAR_2; }