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:
@ -4,11 +4,11 @@ use std::ops::{Deref, DerefMut};
|
||||
|
||||
use super::common::Context;
|
||||
use super::destructor;
|
||||
use ffi::*;
|
||||
use util::range::Range;
|
||||
use crate::ffi::*;
|
||||
use crate::util::range::Range;
|
||||
#[cfg(not(feature = "ffmpeg_5_0"))]
|
||||
use Codec;
|
||||
use {format, Error, Packet, Stream};
|
||||
use crate::Codec;
|
||||
use crate::{format, Error, Packet, Stream};
|
||||
|
||||
pub struct Input {
|
||||
ptr: *mut AVFormatContext,
|
||||
|
Reference in New Issue
Block a user