mirror of
https://github.com/willnorris/imageproxy.git
synced 2026-04-27 13:56:25 +02:00
update all vendored dependencies
This commit is contained in:
parent
0c20cbe5b5
commit
1933f5bf1c
284 changed files with 37534 additions and 11024 deletions
4
vendor/github.com/rwcarlsen/goexif/tiff/tag.go
generated
vendored
4
vendor/github.com/rwcarlsen/goexif/tiff/tag.go
generated
vendored
|
|
@ -25,8 +25,6 @@ const (
|
|||
OtherVal
|
||||
)
|
||||
|
||||
var ErrShortReadTagValue = errors.New("tiff: short read of tag value")
|
||||
|
||||
var formatNames = map[Format]string{
|
||||
IntVal: "int",
|
||||
FloatVal: "float",
|
||||
|
|
@ -154,7 +152,7 @@ func DecodeTag(r ReadAtReader, order binary.ByteOrder) (*Tag, error) {
|
|||
if err != nil {
|
||||
return t, errors.New("tiff: tag value read failed: " + err.Error())
|
||||
} else if n != int64(valLen) {
|
||||
return t, ErrShortReadTagValue
|
||||
return t, errors.New("tiff: short read of tag value")
|
||||
}
|
||||
t.Val = buff.Bytes()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue