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:
@ -1,16 +1,16 @@
|
||||
use std::ops::{Deref, DerefMut};
|
||||
use std::ptr;
|
||||
|
||||
use ffi::*;
|
||||
use crate::ffi::*;
|
||||
#[cfg(not(feature = "ffmpeg_5_0"))]
|
||||
use libc::c_int;
|
||||
|
||||
use super::Encoder as Super;
|
||||
use codec::{traits, Context};
|
||||
use util::format;
|
||||
use crate::codec::{traits, Context};
|
||||
use crate::util::format;
|
||||
#[cfg(not(feature = "ffmpeg_5_0"))]
|
||||
use {frame, packet};
|
||||
use {ChannelLayout, Dictionary, Error};
|
||||
use crate::{frame, packet};
|
||||
use crate::{ChannelLayout, Dictionary, Error};
|
||||
|
||||
pub struct Audio(pub Super);
|
||||
|
||||
|
Reference in New Issue
Block a user