From: Jason Garrett-Glaser Date: Fri, 12 Nov 2010 02:19:22 +0000 (-0800) Subject: Modify the x264 header accordingly if --disable-gpl is used X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=2f656aa26bdacfd039d1c11e59d24752da12f201;p=x264.git Modify the x264 header accordingly if --disable-gpl is used --- diff --git a/encoder/set.c b/encoder/set.c index 4b0fa51e..ce1e9e89 100644 --- a/encoder/set.c +++ b/encoder/set.c @@ -571,8 +571,8 @@ int x264_sei_version_write( x264_t *h, bs_t *s ) memcpy( payload, uuid, 16 ); sprintf( payload+16, "x264 - core %d%s - H.264/MPEG-4 AVC codec - " - "Copyleft 2003-2010 - http://www.videolan.org/x264.html - options: %s", - X264_BUILD, X264_VERSION, opts ); + "Copy%s 2003-2010 - http://www.videolan.org/x264.html - options: %s", + X264_BUILD, X264_VERSION, HAVE_GPL?"left":"right", opts ); length = strlen(payload)+1; x264_sei_write( s, (uint8_t *)payload, length, SEI_USER_DATA_UNREGISTERED );