comparison Core/DicomFormat/DicomImageInformation.cpp @ 857:f53358c70c05 jpeg

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 06 Jun 2014 15:01:19 +0200
parents 6d89d5a4a723
children 80c7e53a69b5
comparison
equal deleted inserted replaced
856:6944fc00962e 857:f53358c70c05
123 catch (OrthancException) 123 catch (OrthancException)
124 { 124 {
125 // If the tag "NumberOfFrames" is absent, assume there is a single frame 125 // If the tag "NumberOfFrames" is absent, assume there is a single frame
126 numberOfFrames_ = 1; 126 numberOfFrames_ = 1;
127 } 127 }
128 catch (boost::bad_lexical_cast) 128 catch (boost::bad_lexical_cast&)
129 { 129 {
130 throw OrthancException(ErrorCode_NotImplemented); 130 throw OrthancException(ErrorCode_NotImplemented);
131 } 131 }
132 132
133 if ((bitsAllocated_ != 8 && bitsAllocated_ != 16 && 133 if ((bitsAllocated_ != 8 && bitsAllocated_ != 16 &&