[FFmpeg-devel] [PATCH] Keep including the full version.h when headers are included externally
Martin Storsjö
martin at martin.st
Sat Mar 19 00:13:26 EET 2022
On Fri, 18 Mar 2022, Martin Storsjö wrote:
> This avoids unnecessary churn and build breakage for users, by
> making sure the whole version.h is included like it has been so far,
> while keeping the benefit of not needing to rebuild most files in
> the ffmpeg tree on minor/micro bumps.
> ---
> Surprisingly many downstream users do seem to rely on the version
> defines.
> ---
> doc/APIchanges | 9 ++-------
> libavcodec/avcodec.h | 6 ++++++
> libavdevice/avdevice.h | 6 ++++++
> libavfilter/avfilter.h | 6 ++++++
> libavformat/avformat.h | 6 ++++++
> libpostproc/postprocess.h | 6 ++++++
> libswresample/swresample.h | 6 ++++++
> libswscale/swscale.h | 6 ++++++
> 8 files changed, 44 insertions(+), 7 deletions(-)
I'll go ahead and push this; Andreas wasn't against it, and it avoids
unnecessary downstream breakage.
// Martin
More information about the ffmpeg-devel
mailing list