av_bsf_alloc

Allocate a context for a given bitstream filter. The caller must fill in the context parameters as described in the documentation and then call av_bsf_init() before sending any data to the filter.

@param filter the filter for which to allocate an instance. @param ctx a pointer into which the pointer to the newly-allocated context will be written. It must be freed with av_bsf_free() after the filtering is done.

@return 0 on success, a negative AVERROR code on failure

extern (C) @nogc nothrow
int
av_bsf_alloc

Meta