[FFmpeg-cvslog] avcodec/tiff_data: Remove incorrect GeoTIFF entries

Andreas Rheinhardt git at videolan.org
Thu Mar 14 21:42:22 EET 2024


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sat Mar  9 19:20:31 2024 +0100| [f032f1326b5b10a94ed7d53397234aff738d01c8] | committer: Andreas Rheinhardt

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 <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f032f1326b5b10a94ed7d53397234aff738d01c8
---

 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"},



More information about the ffmpeg-cvslog mailing list