From: Kostya Shishkov Date: Fri, 13 Dec 2019 18:11:39 +0000 (+0100) Subject: indeo/ivi: init codebook for transparency plane X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=859e6a60f8eb69961683970cd860b2d86393c40d;p=nihav.git indeo/ivi: init codebook for transparency plane --- diff --git a/nihav-indeo/src/codecs/ivibr.rs b/nihav-indeo/src/codecs/ivibr.rs index 53ee9e9..b30ce96 100644 --- a/nihav-indeo/src/codecs/ivibr.rs +++ b/nihav-indeo/src/codecs/ivibr.rs @@ -171,6 +171,7 @@ fn read_trans_band_header(br: &mut BitReader, w: usize, h: usize, dst: &mut [i16 for i in 0..cb.len { cb.bits[i] = br.read(4)? as u8; } + cb = cb.init(); br.align(); let tile_start = br.tell();