diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-03-31 01:14:20 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-04-03 19:14:12 +0200 |
commit | abcb4b44f5d141b26f1b3104ae1c6dfdac33786d (patch) | |
tree | 8601c7c5e295f48f8abcf8a14c7bf7eeeeb5d97f /libavcodec | |
parent | a5fcd978011e618e059d889fd82bad0161e5ab05 (diff) | |
download | ffmpeg-abcb4b44f5d141b26f1b3104ae1c6dfdac33786d.tar.gz |
avcodec/tiff: Don't cast const away via bsearch
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/tiff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c index 1b934457b5..19301d9e49 100644 --- a/libavcodec/tiff.c +++ b/libavcodec/tiff.c @@ -176,7 +176,7 @@ static int cmp_id_key(const void *id, const void *k) static const char *search_keyval(const TiffGeoTagKeyName *keys, int n, int id) { - TiffGeoTagKeyName *r = bsearch(&id, keys, n, sizeof(keys[0]), cmp_id_key); + const TiffGeoTagKeyName *r = bsearch(&id, keys, n, sizeof(keys[0]), cmp_id_key); if(r) return r->name; |