mirror of https://github.com/dsoprea/go-exif.git
ifd_enumerate.go: Add call to postparseTag() after parseTag() in ParseOneTag()
- Should have been in previousdustin/master
parent
fb98f429ee
commit
2a1e3f0fa1
|
@ -1433,6 +1433,15 @@ func ParseOneTag(ifdMapping *IfdMapping, tagIndex *TagIndex, ii *exifcommon.IfdI
|
|||
ite, err = ie.parseTag(ii, 0, bp)
|
||||
log.PanicIf(err)
|
||||
|
||||
err = ie.postparseTag(ite, nil)
|
||||
if err != nil {
|
||||
if err == ErrTagNotFound {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
log.Panic(err)
|
||||
}
|
||||
|
||||
return ite, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue