Function ffmpeg_sys_next::swr_close

source ·
pub unsafe extern "C" fn swr_close(s: *mut SwrContext)
Expand description

Closes the context so that swr_is_initialized() returns 0.

The context can be brought back to life by running swr_init(), swr_init() can also be used without swr_close(). This function is mainly provided for simplifying the usecase where one tries to support libavresample and libswresample.

@param[in,out] s Swr context to be closed