Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
fintelia committed Nov 4, 2023
1 parent cb7ed66 commit ec798bc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/decoder/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,12 @@ impl<R: Read> Reader<R> {
let filter = FilterType::from_u8(row[0]).ok_or(DecodingError::Format(
FormatErrorInner::UnknownFilterMethod(row[0]).into(),
))?;
unfilter(filter, self.bpp, &prev[self.prev_start..], &mut row[1..rowlen]);
unfilter(
filter,
self.bpp,
&prev[self.prev_start..],
&mut row[1..rowlen],
);

self.prev_start = self.current_start + 1;
self.current_start += rowlen;
Expand Down

0 comments on commit ec798bc

Please sign in to comment.