update all vendored dependencies

This commit is contained in:
Will Norris 2018-02-02 10:23:34 +00:00
parent 0c20cbe5b5
commit 1933f5bf1c
284 changed files with 37534 additions and 11024 deletions

View file

@ -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()