diff options
author | Leo Izen <leo.izen@gmail.com> | 2024-01-23 17:29:14 -0500 |
---|---|---|
committer | Leo Izen <leo.izen@gmail.com> | 2024-01-25 11:07:28 -0500 |
commit | ac06190a5a11f2b170e7719d769d7c0d65bff3e0 (patch) | |
tree | db576dcb78d267fd55c28ca3a49362b18f992c39 /libavcodec/xbmenc.c | |
parent | 9d4eda804034effed00fe8fade3fcc9cf1149723 (diff) | |
download | ffmpeg-ac06190a5a11f2b170e7719d769d7c0d65bff3e0.tar.gz |
avcodec/libjxl.h: include version.h
This file has been exported since our minimum required version (0.7.0),
but it wasn't documented. Instead it was transitively included by
<jxl/decode.h> (but not jxl/encode.h), which ffmpeg relied on.
libjxl broke its API in libjxl/libjxl@66b959239355aef5255 by removing
the transitive include of version.h, and they do not plan on adding
it back. Instead they are choosing to leave the API backwards-
incompatible with downstream callers written for some fairly recent
versions of their API.
As a result, we include <jxl/version.h> to continue to build against
more recent versions of libjxl. The version macros removed are also
present in that file, so we no longer need to redefine them.
Signed-off-by: Leo Izen <leo.izen@gmail.com>
Diffstat (limited to 'libavcodec/xbmenc.c')
0 files changed, 0 insertions, 0 deletions