update ffmpeg & use edition 2018

This commit is contained in:
2019-07-10 22:51:41 +02:00
parent d9b9ce7397
commit f0134053f7
2 changed files with 3 additions and 5 deletions

View File

@@ -2,7 +2,8 @@
name = "audio_conv"
version = "0.0.0"
authors = ["Thomas Heck <t@b128.net>"]
edition = "2018"
[dependencies]
ffmpeg = { git = "https://github.com/hecke-rs/rust-ffmpeg" }
ffmpeg-next = { path = "../rust-ffmpeg" }
rayon = "1.0.2"

View File

@@ -1,12 +1,9 @@
extern crate ffmpeg;
extern crate rayon;
use std::alloc;
use std::env;
use std::path::Path;
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::*;
#[global_allocator]