[FFmpeg-devel] [PATCH 6/6] avcodec/tiff_data: Remove incorrect GeoTIFF entries

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Sun Mar 10 16:15:04 EET 2024


They are incorrect according to [1]. They also share keys with valid
entries, so that it is unspecified which entry bsearch returns
in this case. Fix this by removing the incorrect values.

[1]: https://www.earthdata.nasa.gov/s3fs-public/imported/19-008r4.pdf

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavcodec/tiff_data.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/libavcodec/tiff_data.h b/libavcodec/tiff_data.h
index 9ed46d31af..1742ccf60f 100644
--- a/libavcodec/tiff_data.h
+++ b/libavcodec/tiff_data.h
@@ -804,13 +804,9 @@ static const TiffGeoTagKeyName tiff_proj_cs_type_codes[] = {
     {26771, "PCS_NAD27_Illinois_East"},
     {26772, "PCS_NAD27_Illinois_West"},
     {26773, "PCS_NAD27_Indiana_East"},
-    {26774, "PCS_NAD27_BLM_14N_feet"},
     {26774, "PCS_NAD27_Indiana_West"},
-    {26775, "PCS_NAD27_BLM_15N_feet"},
     {26775, "PCS_NAD27_Iowa_North"},
-    {26776, "PCS_NAD27_BLM_16N_feet"},
     {26776, "PCS_NAD27_Iowa_South"},
-    {26777, "PCS_NAD27_BLM_17N_feet"},
     {26777, "PCS_NAD27_Kansas_North"},
     {26778, "PCS_NAD27_Kansas_South"},
     {26779, "PCS_NAD27_Kentucky_North"},
-- 
2.40.1



More information about the ffmpeg-devel mailing list