[−][src]Function ffmpeg_dev::sys::avio_close
pub unsafe extern "C" fn avio_close(s: *mut AVIOContext) -> c_int
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