Commit f049242b authored by Romain Vimont's avatar Romain Vimont Committed by Luca Barbato

Fix parse_cli() usage

The return type of parse_cli() has changed from tuple to struct
CliOptions in 714c5ca7.

Adapt usage for rav1repl accordingly.
parent 2a15d5e2
......@@ -22,7 +22,7 @@ use rustyline::error::ReadlineError;
use rustyline::Editor;
fn main() {
let (mut io, enc, _) = parse_cli();
let CliOptions{mut io, enc, ..} = parse_cli();
let mut y4m_dec = y4m::decode(&mut io.input).unwrap();
let width = y4m_dec.get_width();
let height = y4m_dec.get_height();
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