Changeset 14683

Show
Ignore:
Timestamp:
06/10/08 09:22:22 (6 months ago)
Author:
dron
Message:

Fixed small problem with J2KImageReader stream initialization introduced
by the previous patch (#2410).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.5/gdal/frmts/mrsid/mrsiddataset.cpp

    r14671 r14683  
    12701270    else 
    12711271#endif 
    1272     { 
    12731272#if defined(LTI_SDK_MAJOR) && LTI_SDK_MAJOR >= 7 
     1273    { 
    12741274        poDS->poImageReader = MrSIDImageReader::create(); 
    1275         eStat = poDS->poImageReader->initialize( oFileSpec, true ); 
     1275    } 
     1276 
     1277    eStat = poDS->poImageReader->initialize( oFileSpec, true ); 
    12761278#else 
     1279    { 
    12771280        poDS->poImageReader = new LTIDLLReader<MrSIDImageReader>( oFileSpec, false ); 
    1278         eStat = poDS->poImageReader->initialize(); 
     1281    } 
     1282 
     1283    eStat = poDS->poImageReader->initialize(); 
    12791284#endif 
    1280     } 
    1281  
    12821285 
    12831286    if ( !LT_SUCCESS(eStat) )