OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0028c37
)
image is already detached by QImage::bits() in QGIFFormat::decode()
author
Ivailo Monev
<xakepa10@gmail.com>
Tue, 30 Nov 2021 14:19:19 +0000
(16:19 +0200)
committer
Ivailo Monev
<xakepa10@gmail.com>
Tue, 30 Nov 2021 14:19:19 +0000
(16:19 +0200)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/plugins/imageformats/gif/qgifhandler.cpp
patch
|
blob
|
history
diff --git
a/src/plugins/imageformats/gif/qgifhandler.cpp
b/src/plugins/imageformats/gif/qgifhandler.cpp
index
296f6be
..
d2704e6
100644
(file)
--- a/
src/plugins/imageformats/gif/qgifhandler.cpp
+++ b/
src/plugins/imageformats/gif/qgifhandler.cpp
@@
-220,7
+220,6
@@
int QGIFFormat::decode(QImage *image, const uchar *buffer, int length,
table[1] = &stack[(1 << max_lzw_bits) * 3];
}
- image->detach();
int bpl = image->bytesPerLine();
unsigned char *bits = image->bits();