Index: /branches/eam_branches/ipp-20120405/Ohana/src/libdvo/src/flatcorr_io.c
===================================================================
--- /branches/eam_branches/ipp-20120405/Ohana/src/libdvo/src/flatcorr_io.c	(revision 33818)
+++ /branches/eam_branches/ipp-20120405/Ohana/src/libdvo/src/flatcorr_io.c	(revision 33819)
@@ -185,4 +185,6 @@
 float FlatCorrectionOffset (FlatCorrectionTable *flatcorr, int ID, int X, int Y) {
 
+  if (!flatcorr) return 0.0;
+
   // validate the flat_id (not out of range?)
   int seq = flatcorr->IDtoSeq[ID];
