Bug #558 ยป exiv2-0.17-jpg-sof-fix.diff
exiv2-0.17/src/jpgimage.cpp 2008-06-14 00:40:28.000000000 +0200 | ||
---|---|---|
407 | 407 |
|| marker == sof15_)) { |
408 | 408 |
// we hit a SOFn (start-of-frame) marker |
409 | 409 |
if (size < 8) throw Error(15); |
410 |
io_->seek(size-bufRead, BasicIo::cur); |
|
410 | 411 |
pixelHeight_ = getUShort(buf.pData_ + 3, bigEndian); |
411 | 412 |
pixelWidth_ = getUShort(buf.pData_ + 5, bigEndian); |
412 | 413 |
if (pixelHeight_ != 0) --search; |