[−][src]Function ffmpeg_dev::sys::ffurl_read_complete
pub unsafe extern "C" fn ffurl_read_complete(
h: *mut URLContext,
buf: *mut c_uchar,
size: c_int
) -> c_int
Read as many bytes as possible (up to size), calling the read function multiple times if necessary. This makes special short-read handling in applications unnecessary, if the return value is < size then it is certain there was either an error or the end of file was reached.