mirror of https://github.com/dsoprea/go-exif.git
value_context.go: Bugfix for missing float and double cases in Values()
Related to 325de3c
pull/52/head
parent
fe4ea0ee06
commit
64f5c6ad03
|
@ -439,6 +439,12 @@ func (vc *ValueContext) Values() (values interface{}, err error) {
|
|||
} else if vc.tagType == TypeSignedRational {
|
||||
values, err = vc.ReadSignedRationals()
|
||||
log.PanicIf(err)
|
||||
} else if vc.tagType == TypeFloat {
|
||||
values, err = vc.ReadFloats()
|
||||
log.PanicIf(err)
|
||||
} else if vc.tagType == TypeDouble {
|
||||
values, err = vc.ReadDoubles()
|
||||
log.PanicIf(err)
|
||||
} else if vc.tagType == TypeUndefined {
|
||||
log.Panicf("will not parse undefined-type value")
|
||||
|
||||
|
|
Loading…
Reference in New Issue