Commit forgotted patch for openimageio

This commit is contained in:
Alexey Pavlov
2018-12-09 12:11:32 +03:00
parent 2affece532
commit f8d2b7b09c

View File

@@ -0,0 +1,12 @@
--- oiio-Release-1.8.16/src/pnm.imageio/pnminput.cpp.orig 2018-11-30 21:59:59.037519700 +0300
+++ oiio-Release-1.8.16/src/pnm.imageio/pnminput.cpp 2018-11-30 22:00:26.981118000 +0300
@@ -331,7 +331,8 @@
{
try {
- unsigned int width, height;
+ unsigned int width = 0;
+ unsigned int height = 0;
char c;
if (!m_file)
return false;