From f032f1326b5b10a94ed7d53397234aff738d01c8 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sat, 9 Mar 2024 19:20:31 +0100 Subject: [PATCH] avcodec/tiff_data: Remove incorrect GeoTIFF entries 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 --- 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"},