Function rsmpeg::ffi::av_write_trailer[][src]

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

Write the stream trailer to an output media file and free the file private data.

May only be called after a successful call to avformat_write_header.

@param s media file handle @return 0 if OK, AVERROR_xxx on error