Commit 01ead5dc authored by Luca Barbato's avatar Luca Barbato Committed by Luca Barbato

Do not call the aom runtime checks per frame

They are already called by the API.
parent 7492fc5b
......@@ -113,10 +113,6 @@ pub fn process_frame(
y4m_dec: &mut y4m::Decoder<'_, Box<dyn Read>>,
mut y4m_enc: Option<&mut y4m::Encoder<'_, Box<dyn Write>>>
) -> bool {
unsafe {
let width = y4m_dec.get_width();
let height = y4m_dec.get_height();
let y4m_bits = y4m_dec.get_bit_depth();
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