[FFmpeg-devel] [PATCH] configure: Add FFMPEG_CONFIGURATION and FFMPEG_LICENSE defines to avconfig.h

Nicolas George george at nsup.org
Fri Oct 9 21:58:01 CEST 2015

L'octidi 18 vendémiaire, an CCXXIV, Gonzalo a écrit :
> This was sent in another mail, but may be lost since it did not specify a
> The patch is to get the license and compile flags from any application, I
> add them to the distribution of avconfig.h.

> diff --git a/configure b/configure
> index b572d59..4196088 100755

You should use git send-email or git format-patch, it includes author
information and commit message.

> --- a/configure
> +++ b/configure
> @@ -6224,6 +6224,8 @@ cat > $TMPH <<EOF
>  /* Generated by ffconf */

> +#define FFMPEG_LICENSE "$(c_escape $license)"
>  EOF

This information is already available through avcodec_configuration() and
avcodec_license(). Do you really need a static version? With a shared
library, it may not match.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151009/0f7f49e6/attachment.sig>

More information about the ffmpeg-devel mailing list