跳到主要内容

swr_alloc

搜索

函数 swr_alloc 

源代码
pub unsafe extern "C" fn swr_alloc() -> *mut SwrContext
展开描述

Allocate SwrContext.

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

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