diff mbox series

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

Message ID AS8P250MB074449363B44E2629DCE0D508F252@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit f032f1326b5b10a94ed7d53397234aff738d01c8
Headers show
Series [FFmpeg-devel,1/6] avcodec/tiff: Fix handling of av_strdup() failures | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt March 10, 2024, 2:15 p.m. UTC
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@outlook.com>
---
 libavcodec/tiff_data.h | 4 ----
 1 file changed, 4 deletions(-)
diff mbox series

Patch

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