From 92193139406b460b356e053ff06f6a2805428cd4 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Fri, 13 Dec 2019 19:09:57 +0100 Subject: [PATCH] indeo/ivi: fix reference selection --- nihav-indeo/src/codecs/ivibr.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/nihav-indeo/src/codecs/ivibr.rs b/nihav-indeo/src/codecs/ivibr.rs index f11d6dc..53ee9e9 100644 --- a/nihav-indeo/src/codecs/ivibr.rs +++ b/nihav-indeo/src/codecs/ivibr.rs @@ -897,14 +897,11 @@ br.skip(skip_part as u32)?; } match self.ftype { - IVIFrameType::Intra | IVIFrameType::Inter => { + IVIFrameType::Intra | IVIFrameType::Intra1 | IVIFrameType::Inter => { self.iref_1 = self.iref_0; self.iref_0 = self.cur_frame; self.scal_ref = self.cur_frame; }, - IVIFrameType::InterScal => { - self.scal_ref = self.cur_frame; - }, _ => {}, }; -- 2.30.2