Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Oct 2017 14:15:55 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r452525 - branches/2017Q4/x11-toolkits/nucleo/files
Message-ID:  <201710201415.v9KEFtnt083133@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Fri Oct 20 14:15:55 2017
New Revision: 452525
URL: https://svnweb.freebsd.org/changeset/ports/452525

Log:
  MFH: r452524
  
  x11-toolkits/nucleo: unbreak FFMPEG=on with Clang 4.0
  
  ffmpegImageSink.cxx:246:29: error: ordered comparison between pointer and zero ('AVIOContext *' and 'int')
                                      0, udp_callback, 0) < 0) {
                                      ~~~~~~~~~~~~~~~~~~~ ^ ~
  
  Reported by:	antoine (via bug 223057 exp-run)
  Approved by:	ports-secteam blanket

Modified:
  branches/2017Q4/x11-toolkits/nucleo/files/patch-nucleo__plugins__ffmpeg__ffmpegImageSink.cxx
Directory Properties:
  branches/2017Q4/   (props changed)

Modified: branches/2017Q4/x11-toolkits/nucleo/files/patch-nucleo__plugins__ffmpeg__ffmpegImageSink.cxx
==============================================================================
--- branches/2017Q4/x11-toolkits/nucleo/files/patch-nucleo__plugins__ffmpeg__ffmpegImageSink.cxx	Fri Oct 20 14:13:29 2017	(r452524)
+++ branches/2017Q4/x11-toolkits/nucleo/files/patch-nucleo__plugins__ffmpeg__ffmpegImageSink.cxx	Fri Oct 20 14:15:55 2017	(r452525)
@@ -87,7 +87,8 @@
 -	 if (init_put_byte(format_context->pb, buffer, buffer_size,
 +	 if (avio_alloc_context(buffer, buffer_size,
  				    1, (void *)this,
- 				    0, udp_callback, 0) < 0) {
+-				    0, udp_callback, 0) < 0) {
++				    0, udp_callback, 0) == NULL) {
  	   std::cerr << "ffmpegImageSink: init_put_byte failed" << std::endl ;
  	   return false ;
  	 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710201415.v9KEFtnt083133>