Procs
proc av_calloc(nmemb, size: csize_t): pointer {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_dynarray2_add(tab_ptr: ptr pointer; nb_ptr: ptr cint; elem_size: csize_t; elem_data: ptr uint8): pointer {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_dynarray_add(tab_ptr: pointer; nb_ptr: ptr cint; elem: pointer) {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_dynarray_add_nofree(tab_ptr: pointer; nb_ptr: ptr cint; elem: pointer): cint {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_fast_malloc(ptr: pointer; size: ptr cuint; min_size: csize_t) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_fast_mallocz(ptr: pointer; size: ptr cuint; min_size: csize_t) {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_fast_realloc(ptr: pointer; size: ptr cuint; min_size: csize_t): pointer {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_free(ptr: pointer) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_freep(ptr: pointer) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_malloc(size: csize_t): pointer {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_malloc_array(nmemb, size: csize_t): pointer {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_mallocz(size: csize_t): pointer {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_mallocz_array(nmemb, size: csize_t): pointer {....deprecated, importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_max_alloc(max: csize_t) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_memcpy_backptr(dst: ptr uint8; back, cnt: cint) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_memdup(p: pointer; size: csize_t): pointer {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_realloc(ptr: pointer; size: csize_t): pointer {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_realloc_array(ptr: pointer; nmemb, size: csize_t): pointer {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_realloc_f(ptr: pointer; nelem, elsize: csize_t): pointer {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_reallocp(ptr: pointer; size: csize_t): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_reallocp_array(ptr: pointer; nmemb, size: csize_t): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_size_mult(a, b: csize_t; r: ptr csize_t): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_strdup(s: cstring): cstring {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_strndup(s: cstring; len: csize_t): cstring {.importc, cdecl, ...raises: [], tags: [], forbids: [].}