[][src]Function stainless_ffmpeg_sys::av_bsf_list_finalize

pub unsafe extern "C" fn av_bsf_list_finalize(
    lst: *mut *mut AVBSFList,
    bsf: *mut *mut AVBSFContext
) -> c_int

Finalize list of bitstream filters.

This function will transform @ref AVBSFList to single @ref AVBSFContext, so the whole chain of bitstream filters can be treated as single filter freshly allocated by av_bsf_alloc(). If the call is successful, @ref AVBSFList structure is freed and lst will be set to NULL. In case of failure, caller is responsible for freeing the structure by av_bsf_list_free()

@param lst Filter list structure to be transformed @param[out] bsf Pointer to be set to newly created @ref AVBSFContext structure representing the chain of bitstream filters

@return >=0 on success, negative AVERROR in case of failure