scuffle-ffmpeg 0.0.1

FFmpeg bindings for Rust.
Documentation
1
2
3
4
5
6
7
8
9
use ffmpeg_sys_next::*;

pub fn check_i64(val: i64) -> Option<i64> {
	if val == AV_NOPTS_VALUE {
		None
	} else {
		Some(val)
	}
}