[FFmpeg-devel] [PATCH] libavcodec/makefile: prevent from installing disabled headers.

Michael Niedermayer michaelni at gmx.at
Sun Oct 19 21:44:24 CEST 2014


On Mon, Oct 20, 2014 at 05:53:05AM +1100, Matt Oliver wrote:
> This stops headers based on disabled functionality from being installed.
> Things like VDA and VDPAU dont work on windows etc. So any attempt to use
> these headers will result in compilation errors so best not to install them
> to avoid confusion. Also no point having a header for functionality that
> wasnt built into the libs.
> So exclude headers if they cannot be used.

>  Makefile |   11 ++++++-----
>  1 file changed, 6 insertions(+), 5 deletions(-)
> 4532d3d0c3c6f4283a4d04e79d6f892950f29e2e  0001-libavcodec-makefile-prevent-from-installing-disabled.patch
> From 1e0e9bde9f0785d129fa31436d20e74532704c9c Mon Sep 17 00:00:00 2001
> From: Matthew Oliver <protogonoi at gmail.com>
> Date: Mon, 20 Oct 2014 05:51:58 +1100
> Subject: [PATCH] libavcodec/makefile: prevent from installing disabled
>  headers.

this might make sense but it breaks API
as a unconditional #include would break, thus if this is done it
should only happen when major versions are bumped


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141019/33f8934a/attachment.asc>


More information about the ffmpeg-devel mailing list