Function ffmpeg_sys_next::swr_alloc

source ·
pub unsafe extern "C" fn swr_alloc() -> *mut SwrContext
Expand description

Allocate SwrContext.

If you use this function you will need to set the parameters (manually or with swr_alloc_set_opts()) before calling swr_init().

@see swr_alloc_set_opts(), swr_init(), swr_free() @return NULL on error, allocated context otherwise