update ffmpeg & use edition 2018
This commit is contained in:
@@ -2,7 +2,8 @@
|
|||||||
name = "audio_conv"
|
name = "audio_conv"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
authors = ["Thomas Heck <t@b128.net>"]
|
authors = ["Thomas Heck <t@b128.net>"]
|
||||||
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
ffmpeg = { git = "https://github.com/hecke-rs/rust-ffmpeg" }
|
ffmpeg-next = { path = "../rust-ffmpeg" }
|
||||||
rayon = "1.0.2"
|
rayon = "1.0.2"
|
||||||
|
|||||||
@@ -1,12 +1,9 @@
|
|||||||
extern crate ffmpeg;
|
|
||||||
extern crate rayon;
|
|
||||||
|
|
||||||
use std::alloc;
|
use std::alloc;
|
||||||
use std::env;
|
use std::env;
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
use std::{fs, io};
|
use std::{fs, io};
|
||||||
|
|
||||||
use ffmpeg::{codec, filter, format, frame, media};
|
use ffmpeg_next::{self as ffmpeg, codec, filter, format, frame, media};
|
||||||
use rayon::prelude::*;
|
use rayon::prelude::*;
|
||||||
|
|
||||||
#[global_allocator]
|
#[global_allocator]
|
||||||
|
|||||||
Reference in New Issue
Block a user