bunch-o compiler bitch'n
[goodguy/history.git] / cinelerra-5.1 / cinelerra / fileexr.C
index 2589a0067c34ca42bbef1843564107e938395122..ca0c879f91b332603b4a91faea18594281a500da 100644 (file)
@@ -19,6 +19,8 @@
  *
  */
 
+#ifdef HAVE_OPENEXR
+
 #include "asset.h"
 #include "bcsignals.h"
 #include "clip.h"
@@ -305,7 +307,7 @@ int FileEXR::read_frame_header(char *path)
 
        asset->width = dw.max.x - dw.min.x + 1;
        asset->height = dw.max.y - dw.min.y + 1;
-       asset->interlace_mode = BC_ILACE_MODE_NOTINTERLACED;
+       asset->interlace_mode = ILACE_MODE_NOTINTERLACED;
 
        const Imf::ChannelList &channels = file.header().channels();
 
@@ -662,3 +664,4 @@ int EXRCompressionItem::handle_event()
        return 0;
 }
 
+#endif