summaryrefslogtreecommitdiff
path: root/vendor/github.com/superseriousbusiness/exif-terminator/jpeg.go
diff options
context:
space:
mode:
authorLibravatar Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>2022-12-06 14:15:25 +0100
committerLibravatar GitHub <noreply@github.com>2022-12-06 14:15:25 +0100
commit1a3f26fb5c515f5672561449f91f6be6383b5a3a (patch)
tree801c8469ea8ae122cf583953940d3e28bdbfa90f /vendor/github.com/superseriousbusiness/exif-terminator/jpeg.go
parent[docs] Remove filesystem logging directives from example systemd unit config ... (diff)
downloadgotosocial-1a3f26fb5c515f5672561449f91f6be6383b5a3a.tar.xz
[feature] media: add webp support (#1155)
* media: add webp support Signed-off-by: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> * bump exif-terminator to v0.5.0 Signed-off-by: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> Signed-off-by: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
Diffstat (limited to 'vendor/github.com/superseriousbusiness/exif-terminator/jpeg.go')
-rw-r--r--vendor/github.com/superseriousbusiness/exif-terminator/jpeg.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/superseriousbusiness/exif-terminator/jpeg.go b/vendor/github.com/superseriousbusiness/exif-terminator/jpeg.go
index aa6940a71..576c4e430 100644
--- a/vendor/github.com/superseriousbusiness/exif-terminator/jpeg.go
+++ b/vendor/github.com/superseriousbusiness/exif-terminator/jpeg.go
@@ -91,7 +91,7 @@ func (v *jpegVisitor) HandleSegment(segmentMarker byte, _ string, _ int, _ bool)
if segmentMarker == jpegstructure.MARKER_EOI {
// take account of the last 2 bytes taken up by the EOI
eoiLength := 2
-
+
// this is the total file size we will
// have written including the EOI
willHaveWritten := v.writtenTotalBytes + eoiLength