svn commit: r452525 - branches/2017Q4/x11-toolkits/nucleo/files

Jan Beich jbeich at FreeBSD.org
Fri Oct 20 14:15:56 UTC 2017


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 ;
  	 }


More information about the svn-ports-branches mailing list