From 200355d3bc74bee307ac047072249a8e99b1d4f8 Mon Sep 17 00:00:00 2001 From: Etienne Prothon Date: Mon, 17 Aug 2020 18:32:43 +0200 Subject: [PATCH] Mark decoding buffer f32 and f64 as unimplemented --- src/decoder/mod.rs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/decoder/mod.rs b/src/decoder/mod.rs index fced943..07e6a47 100644 --- a/src/decoder/mod.rs +++ b/src/decoder/mod.rs @@ -283,11 +283,13 @@ fn rev_hpredict(image: DecodingBuffer, size: (u32, u32), color_type: ColorType) DecodingBuffer::U64(buf) => { rev_hpredict_nsamp(buf, size, samples)?; } - DecodingBuffer::F32(buf) => { - rev_hpredict_nsamp(buf, size, samples)?; + DecodingBuffer::F32(_buf) => { + unimplemented!() + // rev_hpredict_nsamp(buf, size, samples)?; } - DecodingBuffer::F64(buf) => { - rev_hpredict_nsamp(buf, size, samples)?; + DecodingBuffer::F64(_buf) => { + unimplemented!() + // rev_hpredict_nsamp(buf, size, samples)?; } } Ok(())