av_dynarray_add_nofree

Add an element to a dynamic array.

Function has the same functionality as av_dynarray_add(), but it doesn't free memory on fails. It returns error code instead and leave current buffer untouched.

@return >=0 on success, negative otherwise @see av_dynarray_add(), av_dynarray2_add()

extern (C) @nogc nothrow
int
av_dynarray_add_nofree
(
void* tab_ptr
,
int* nb_ptr
,
void* elem
)

Meta