mirror of
https://github.com/dsoprea/go-exif.git
synced 2025-05-31 11:41:57 +00:00
ifd_enumerate.go: Add call to postparseTag() after parseTag() in ParseOneTag()
- Should have been in previous
This commit is contained in:
parent
fb98f429ee
commit
2a1e3f0fa1
@ -1433,6 +1433,15 @@ func ParseOneTag(ifdMapping *IfdMapping, tagIndex *TagIndex, ii *exifcommon.IfdI
|
|||||||
ite, err = ie.parseTag(ii, 0, bp)
|
ite, err = ie.parseTag(ii, 0, bp)
|
||||||
log.PanicIf(err)
|
log.PanicIf(err)
|
||||||
|
|
||||||
|
err = ie.postparseTag(ite, nil)
|
||||||
|
if err != nil {
|
||||||
|
if err == ErrTagNotFound {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
|
||||||
|
log.Panic(err)
|
||||||
|
}
|
||||||
|
|
||||||
return ite, nil
|
return ite, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user