From b4825560251eac43eacd1cf5ab45818f47583bd7 Mon Sep 17 00:00:00 2001 From: Mattias Wadman Date: Fri, 19 Apr 2024 15:26:10 +0200 Subject: [PATCH] jpeg: Fix EOI description --- format/jpeg/jpeg.go | 2 +- format/jpeg/testdata/4x4.fqtest | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/format/jpeg/jpeg.go b/format/jpeg/jpeg.go index 0f45dc45..c0425cdb 100644 --- a/format/jpeg/jpeg.go +++ b/format/jpeg/jpeg.go @@ -124,7 +124,7 @@ var markers = scalar.UintMap{ RST6: {Sym: "rst6", Description: "Restart with modulo 8 count 6"}, RST7: {Sym: "rst7", Description: "Restart with modulo 8 count 7"}, SOI: {Sym: "soi", Description: "Start of image"}, - EOI: {Sym: "eoi", Description: "End of image true"}, + EOI: {Sym: "eoi", Description: "End of image"}, SOS: {Sym: "sos", Description: "Start of scan"}, DQT: {Sym: "dqt", Description: "Define quantization table(s)"}, DNL: {Sym: "dnl", Description: "Define number of lines"}, diff --git a/format/jpeg/testdata/4x4.fqtest b/format/jpeg/testdata/4x4.fqtest index eda36439..b8a88ee1 100644 --- a/format/jpeg/testdata/4x4.fqtest +++ b/format/jpeg/testdata/4x4.fqtest @@ -135,4 +135,4 @@ $ fq -d jpeg dv 4x4.jpg 0x90| 3f bf | ?. | [7]: raw bits entropy_coded_data 0x9c-0x9e (2) | | | [8]{}: marker 0x9e-0xa0 (2) 0x90| ff | . | prefix: raw bits (valid) 0x9e-0x9f (1) -0x90| d9| .| code: "eoi" (217) (End of image true) 0x9f-0xa0 (1) +0x90| d9| .| code: "eoi" (217) (End of image) 0x9f-0xa0 (1)