Skip to content
Snippets Groups Projects
cmdutils.c 33.2 KiB
Newer Older
  • Learn to ignore specific revisions
  •             av_log(NULL, AV_LOG_ERROR, "Could not alloc buffer.\n");
                exit_program(1);
            }
            memset(tmp + *size*elem_size, 0, (new_size-*size) * elem_size);
            *size = new_size;
            return tmp;
        }
        return array;
    }