Fix uninitialised variable.
authorCarl Hetherington <cth@carlh.net>
Sun, 8 Feb 2015 14:56:02 +0000 (14:56 +0000)
committerCarl Hetherington <cth@carlh.net>
Sun, 8 Feb 2015 14:58:06 +0000 (14:58 +0000)
src/lib/j2k_image_proxy.cc

index c4d38e6235225bea1b5d43c6420471888ef94e4b..d9cb79cadb9134c4de780db34329b8cab2e09d6b 100644 (file)
@@ -38,6 +38,7 @@ using boost::optional;
 J2KImageProxy::J2KImageProxy (boost::filesystem::path path, dcp::Size size)
        : _mono (new dcp::MonoPictureFrame (path))
        , _size (size)
+       , _eye (EYE_BOTH)
 {
 
 }
@@ -45,6 +46,7 @@ J2KImageProxy::J2KImageProxy (boost::filesystem::path path, dcp::Size size)
 J2KImageProxy::J2KImageProxy (shared_ptr<const dcp::MonoPictureFrame> frame, dcp::Size size)
        : _mono (frame)
        , _size (size)
+       , _eye (EYE_BOTH)
 {
        
 }