[x264-devel] commit: Modify the x264 header accordingly if --disable-gpl is used ( Jason Garrett-Glaser )

git at videolan.org git at videolan.org
Sun Nov 14 08:10:00 CET 2010


x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Thu Nov 11 18:19:22 2010 -0800| [2f656aa26bdacfd039d1c11e59d24752da12f201] | committer: Jason Garrett-Glaser 

Modify the x264 header accordingly if --disable-gpl is used

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=2f656aa26bdacfd039d1c11e59d24752da12f201
---

 encoder/set.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/encoder/set.c b/encoder/set.c
index 4b0fa51..ce1e9e8 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 );



More information about the x264-devel mailing list