From: Kostya Shishkov Date: Tue, 14 May 2019 11:49:58 +0000 (+0200) Subject: indeo3: fix source buffer X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=568cde8118e34485ad4a9cc3fcd876f3192c9b2e;p=nihav.git indeo3: fix source buffer --- diff --git a/nihav-indeo/src/codecs/indeo3.rs b/nihav-indeo/src/codecs/indeo3.rs index 2a51fac..186eb4f 100644 --- a/nihav-indeo/src/codecs/indeo3.rs +++ b/nihav-indeo/src/codecs/indeo3.rs @@ -223,7 +223,7 @@ fn fill_block8x8(bufs: &mut Buffers, doff: usize, stride: usize, h: usize, topli } else if bufs.fbuf { for i in 0..8 { buf[i] = bufs.buf1[doff - stride + i]; } } else { - for i in 0..8 { buf[i] = bufs.buf1[doff - stride + i]; } + for i in 0..8 { buf[i] = bufs.buf2[doff - stride + i]; } } if topline && !firstline { for i in 0..4 { buf[i * 2 + 1] = buf[i * 2]; }