Merge pull request #98 from zmwangx/fix-clippy

Fix clippy build
This commit is contained in:
Polochon-street 2022-03-06 17:13:19 +01:00 committed by GitHub
commit 0054b0e51b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,8 +20,7 @@ fn main() {
} }
} }
let mut octx = let mut octx = ffmpeg::format::output(&"test.mkv").expect("Couldn't open test file");
ffmpeg::format::output(&"test.mkv".to_owned()).expect("Couldn't open test file");
for chapter in ictx.chapters() { for chapter in ictx.chapters() {
let title = match chapter.metadata().get("title") { let title = match chapter.metadata().get("title") {