diff --git a/av1an-core/src/file_validation.rs b/av1an-core/src/file_validation.rs index 7008bc8..e1fa265 100644 --- a/av1an-core/src/file_validation.rs +++ b/av1an-core/src/file_validation.rs @@ -10,7 +10,7 @@ use std::{io::prelude::*, path::PathBuf}; fn match_file_type(input: PathBuf) -> bool { let extension = input.as_path().extension().unwrap().to_str().unwrap(); - if ["mkv", "mp4", "mov", "avi", "flv", "m2ts"] + if ["mkv", "mp4", "mov", "avi", "flv", "m2ts", "y4m"] .iter() .any(|&v| input.extension().map_or(false, |u| v == u)) {