diff options
author | 2024-08-19 13:38:10 +0000 | |
---|---|---|
committer | 2024-08-19 13:38:10 +0000 | |
commit | 889d4756eaabb8fa3218acc1e2cfcadf72d40822 (patch) | |
tree | de225eedda67b2ea44a14c57f9d3451ec4beb949 /internal/media/metadata.go | |
parent | [chore] update default http client timeout to 30s (#3214) (diff) | |
download | gotosocial-889d4756eaabb8fa3218acc1e2cfcadf72d40822.tar.xz |
[performance] use native Go code to probe JPEGs (#3206)
* use native Go code to probe JPEGs
* add note about copying from github.com/disintegration/imaging
* add more code comments
Diffstat (limited to 'internal/media/metadata.go')
-rw-r--r-- | internal/media/metadata.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/media/metadata.go b/internal/media/metadata.go index e9256f1b1..e8eb32c0d 100644 --- a/internal/media/metadata.go +++ b/internal/media/metadata.go @@ -73,7 +73,7 @@ func clearMetadata(ctx context.Context, filepath string) error { } // terminateExif cleans exif data from file at input path, into file -// at output path, exusing given file extension to determine cleaning. +// at output path, using given file extension to determine cleaning type. func terminateExif(outpath, inpath string, ext string) error { // Open input file at given path. inFile, err := os.Open(inpath) |