Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -176,7 +176,7 @@ static int cmp_id_key(const void *id, const void *k) · 175 unmodified lines | |||
| 176 | 176 | ||
| 177 | static const char *search_keyval(const TiffGeoTagKeyName *keys, int n, int id) | 177 | static const char *search_keyval(const TiffGeoTagKeyName *keys, int n, int id) |
| 178 | { | 178 | { |
| 179 | TiffGeoTagKeyName *r = bsearch(&id, keys, n, sizeof(keys[0]), cmp_id_key); | 179 | const TiffGeoTagKeyName *r = bsearch(&id, keys, n, sizeof(keys[0]), cmp_id_key); |
| 180 | if(r) | 180 | if(r) |
| 181 | return r->name; | 181 | return r->name; |
| 182 | 182 | ||