From 7161d80746674119d8978d75c544ccd02ebb603f Mon Sep 17 00:00:00 2001 From: Tao Date: Sat, 30 Mar 2024 02:44:54 +0800 Subject: [PATCH] Update comment in jpeg.mjs --- src/file-parsers/jpeg.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/file-parsers/jpeg.mjs b/src/file-parsers/jpeg.mjs index ab47656..3dee0db 100644 --- a/src/file-parsers/jpeg.mjs +++ b/src/file-parsers/jpeg.mjs @@ -52,7 +52,7 @@ function getSegmentType(buffer, offset, length) { // - 3rd & 4th bytes are length of the APPn segment // - Followed by a few bytes of segment itentification - describing what type of content is there. // Structure of TIFF (APP1-EXIF): -// - FF 01 - marker +// - FF E1 - marker // - xx xx - Size // - 45 78 69 66 00 00 / ASCII string 'Exif\0\0' // - TIFF HEADER @@ -235,4 +235,4 @@ function groupBy(array, key) { return Array.from(groups) } -fileParsers.set('jpeg', JpegFileParser) \ No newline at end of file +fileParsers.set('jpeg', JpegFileParser)