ifd_enumerate.go: Add call to postparseTag() after parseTag() in ParseOneTag()

- Should have been in previous
dustin/master
Dustin Oprea 2020-05-27 00:27:43 -04:00
parent fb98f429ee
commit 2a1e3f0fa1
1 changed files with 9 additions and 0 deletions

View File

@ -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
}