mirror of https://github.com/dsoprea/go-exif.git
ifd_tag_entry.go: Minor change to use own field directly
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…
Reference in New Issue