static void *ff_realloc_static(void *ptr, unsigned int size)

{

    int i;

    if(!ptr)

      return av_mallocz_static(size);

    /* Look for the old ptr */

    for(i = 0; i < last_static; i++) {

        if(array_static[i] == ptr) {

            array_static[i] = av_realloc(array_static[i], size);

            return array_static[i];

        }

    }

    return NULL;



}

static void *ff_realloc_static(void *ptr, unsigned int size)

{

    int i;

    if(!ptr)

      return av_mallocz_static(size);

    

    for(i = 0; i < last_static; i++) {

        if(array_static[i] == ptr) {

            array_static[i] = av_realloc(array_static[i], size);

            return array_static[i];

        }

    }

    return NULL;



}

    int i;     if(!ptr)       return av_mallocz_static(size);     for(i = 0; i < last_static; i++) {         if(array_static[i] == ptr) {             array_static[i] = av_realloc(array_static[i], size);             return array_static[i];     return NULL;
static void *FUNC_0(void *VAR_0, unsigned int VAR_1)

{

    int VAR_2;

    if(!VAR_0)

      return av_mallocz_static(VAR_1);

    

    for(VAR_2 = 0; VAR_2 < last_static; VAR_2++) {

        if(array_static[VAR_2] == VAR_0) {

            array_static[VAR_2] = av_realloc(array_static[VAR_2], VAR_1);

            return array_static[VAR_2];

        }

    }

    return NULL;



}

static void *FUNC_0(void *VAR_0, unsigned int VAR_1)
{ int VAR_2; if(!VAR_0)
return av_mallocz_static(VAR_1); for(VAR_2 = 0; VAR_2 < last_static; VAR_2++) { if(array_static[VAR_2] == VAR_0) { array_static[VAR_2] = av_realloc(array_static[VAR_2], VAR_1); return array_static[VAR_2]; } } return NULL; }