Commit b2e78616 authored by Vittorio Giovara's avatar Vittorio Giovara Committed by Thomas Daede
Browse files

rav1e: Print a more friendly error message when input is not y4m

parent dd10d276
......@@ -22,7 +22,7 @@ use decoder::Decoder;
fn main() {
let mut cli = parse_cli();
let mut y4m_dec = y4m::decode(&mut;
let mut y4m_dec = y4m::decode(&mut"input is not a y4m file");
let video_info = y4m_dec.get_video_details();
let mut y4m_enc = match {
Some(rec) => Some(
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment