Changeset 14419

Show
Ignore:
Timestamp:
05/10/08 07:42:19 (2 months ago)
Author:
rouault
Message:

Prevent crash on NITF file without image segment (#2362)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/gdal/frmts/nitf/nitfdataset.cpp

    r14160 r14419  
    12711271/*      georeferencing from?                                            */ 
    12721272/* -------------------------------------------------------------------- */ 
    1273     poDS->CheckGeoSDEInfo(); 
     1273    if (psImage) 
     1274        poDS->CheckGeoSDEInfo(); 
    12741275 
    12751276/* -------------------------------------------------------------------- */