mirror of
https://github.com/dsoprea/go-exif.git
synced 2025-04-28 13:51:38 +00:00
ifd_tag_entry.go: Minor change to use own field directly
This commit is contained in:
parent
1a430b7457
commit
556a15dbee
@ -107,7 +107,7 @@ func (ite *IfdTagEntry) valueOffset_() uint32 {
|
||||
func (ite *IfdTagEntry) GetRawBytes() (rawBytes []byte, err error) {
|
||||
valueContext := ite.getValueContext()
|
||||
|
||||
if ite.TagType() == exifcommon.TypeUndefined {
|
||||
if ite.tagType == exifcommon.TypeUndefined {
|
||||
value, err := exifundefined.Decode(valueContext)
|
||||
if err != nil {
|
||||
if err == exifcommon.ErrUnhandledUnknownTypedTag {
|
||||
|
Loading…
x
Reference in New Issue
Block a user