Function rsmpeg::ffi::avio_close[][src]

pub unsafe extern "C" fn avio_close(s: *mut AVIOContext) -> i32
Expand description

Close the resource accessed by the AVIOContext s and free it. This function can only be used if s was opened by avio_open().

The internal buffer is automatically flushed before closing the resource.

@return 0 on success, an AVERROR < 0 on error. @see avio_closep