diff --git a/src/imageformats/raw.cpp b/src/imageformats/raw.cpp index 261e89c..fba2d8c 100644 --- a/src/imageformats/raw.cpp +++ b/src/imageformats/raw.cpp @@ -115,9 +115,6 @@ public: if (read < 1) { return 0; } - if (auto o = read % sz) { - seek(-(sz - o), SEEK_CUR); - } return read / sz; } virtual int eof() override