History

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

Andreas Rheinhardt committed 2 years ago

Commit f032f131 parent 282812d1 file · +0 −4Browse files

Unified · Split

libavcodec/tiff_data.h+0−4
@@ -804,13 +804,9 @@ static const TiffGeoTagKeyName tiff_proj_cs_type_codes[] = { · 803 unmodified lines
804 {26771, "PCS_NAD27_Illinois_East"},804 {26771, "PCS_NAD27_Illinois_East"},
805 {26772, "PCS_NAD27_Illinois_West"},805 {26772, "PCS_NAD27_Illinois_West"},
806 {26773, "PCS_NAD27_Indiana_East"},806 {26773, "PCS_NAD27_Indiana_East"},
807 {26774, "PCS_NAD27_BLM_14N_feet"},
808 {26774, "PCS_NAD27_Indiana_West"},807 {26774, "PCS_NAD27_Indiana_West"},
809 {26775, "PCS_NAD27_BLM_15N_feet"},
810 {26775, "PCS_NAD27_Iowa_North"},808 {26775, "PCS_NAD27_Iowa_North"},
811 {26776, "PCS_NAD27_BLM_16N_feet"},
812 {26776, "PCS_NAD27_Iowa_South"},809 {26776, "PCS_NAD27_Iowa_South"},
813 {26777, "PCS_NAD27_BLM_17N_feet"},
814 {26777, "PCS_NAD27_Kansas_North"},810 {26777, "PCS_NAD27_Kansas_North"},
815 {26778, "PCS_NAD27_Kansas_South"},811 {26778, "PCS_NAD27_Kansas_South"},
816 {26779, "PCS_NAD27_Kentucky_North"},812 {26779, "PCS_NAD27_Kentucky_North"},

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t