about summary refs log tree commit diff
path: root/src/reader/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/reader/mod.rs')
-rw-r--r--src/reader/mod.rs18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/reader/mod.rs b/src/reader/mod.rs
index 7cf1fe1..41494df 100644
--- a/src/reader/mod.rs
+++ b/src/reader/mod.rs
@@ -37,22 +37,7 @@ impl GifReader {
 
 		loop {
 			match Self::read_block(&mut reader)? {
-				Some(block) => {
-					/*match &block {
-						Block::IndexedImage(_) => println!("Indexed Image"),
-						Block::BlockedImage(_) => println!("Blocked Image"),
-						Block::Extension(ext) => match ext {
-							Extension::GraphicControl(_) => println!("Graphic Cotrol Extension"),
-							Extension::Looping(_) => println!("Netscape Extension"),
-							Extension::Comment(vec) => {
-								println!("Comment Extension {:X}", vec.len())
-							}
-							Extension::Application(_) => todo!(),
-						},
-					}*/
-
-					gif.blocks.push(block)
-				}
+				Some(block) => gif.blocks.push(block),
 				None => return Ok(gif),
 			}
 		}
@@ -162,7 +147,6 @@ impl GifReader {
 		let lzw_csize = reader.u8().ok_or(DecodingError::UnexpectedEof)?;
 
 		let compressed_data = reader.take_and_collapse_subblocks();
-		println!("c{}", compressed_data.len());
 
 		let mut decompress = weezl::decode::Decoder::new(weezl::BitOrder::Lsb, lzw_csize);
 		//TODO: remove unwrap