Migrate crates to Rust edition 2021 (#24)
* Migrate ffmpeg-sys to Edition 2021 * Migrate ffmpeg to Edition 2021 * Remove now-redundant imports * Reorder imports after edition migration
This commit is contained in:
@ -51,7 +51,7 @@ pub mod traits;
|
||||
use std::ffi::CStr;
|
||||
use std::str::from_utf8_unchecked;
|
||||
|
||||
use ffi::*;
|
||||
use crate::ffi::*;
|
||||
|
||||
pub fn version() -> u32 {
|
||||
unsafe { avcodec_version() }
|
||||
|
Reference in New Issue
Block a user