1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
extern crate libc; #[macro_use] extern crate lazy_static; pub use enums::{ KnownTypes, }; pub use video_metadata::{ get_format_from_file, get_format_from_slice, }; pub use types::{ Error, Metadata, Size, }; pub mod enums; pub mod video_metadata; pub mod types; #[link(name = "avformat")] extern {} #[link(name = "avcodec")] extern {} #[link(name = "avutil")] extern {}