aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/Pl_TIFFPredictor.hh
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2024-01-21 18:57:10 +0100
committerm-holger <m-holger@kubitscheck.org>2024-01-26 21:25:15 +0100
commit5b7a44e1cc97035226b001e10993a3ad394389dc (patch)
treeda5893a16c0a50821710b6feed38d4cbd21074eb /libqpdf/qpdf/Pl_TIFFPredictor.hh
parent902fd6df71e89127fdf82a1a309c9c24927276c7 (diff)
downloadqpdf-5b7a44e1cc97035226b001e10993a3ad394389dc.tar.zst
In Pl_TIFFPredictor remove calls to memcpy
Instead of overwriting cur_row.data() use clear and insert.
Diffstat (limited to 'libqpdf/qpdf/Pl_TIFFPredictor.hh')
-rw-r--r--libqpdf/qpdf/Pl_TIFFPredictor.hh1
1 files changed, 0 insertions, 1 deletions
diff --git a/libqpdf/qpdf/Pl_TIFFPredictor.hh b/libqpdf/qpdf/Pl_TIFFPredictor.hh
index 7e35350d..ba429734 100644
--- a/libqpdf/qpdf/Pl_TIFFPredictor.hh
+++ b/libqpdf/qpdf/Pl_TIFFPredictor.hh
@@ -34,7 +34,6 @@ class Pl_TIFFPredictor: public Pipeline
unsigned int samples_per_pixel;
unsigned int bits_per_sample;
std::vector<unsigned char> cur_row;
- size_t pos;
};
#endif // PL_TIFFPREDICTOR_HH