projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddd8f89
)
Removed direct tiff writing to in-memory buffers if libtiff is used
author
Ilya Lysenkov
<no@email>
Thu, 2 Jun 2011 15:16:35 +0000
(15:16 +0000)
committer
Ilya Lysenkov
<no@email>
Thu, 2 Jun 2011 15:16:35 +0000
(15:16 +0000)
modules/highgui/src/grfmt_tiff.cpp
patch
|
blob
|
history
diff --git
a/modules/highgui/src/grfmt_tiff.cpp
b/modules/highgui/src/grfmt_tiff.cpp
index
d142bfe
..
1db9624
100644
(file)
--- a/
modules/highgui/src/grfmt_tiff.cpp
+++ b/
modules/highgui/src/grfmt_tiff.cpp
@@
-368,7
+368,11
@@
bool TiffDecoder::readData( Mat& img )
TiffEncoder::TiffEncoder()
{
m_description = "TIFF Files (*.tiff;*.tif)";
+#ifdef HAVE_TIFF
+ m_buf_supported = false;
+#else
m_buf_supported = true;
+#endif
}
TiffEncoder::~TiffEncoder()