svn commit: r425788 - head/multimedia/plexhometheater/files

Jan Beich jbeich at FreeBSD.org
Wed Nov 9 10:51:24 UTC 2016


Author: jbeich
Date: Wed Nov  9 10:51:23 2016
New Revision: 425788
URL: https://svnweb.freebsd.org/changeset/ports/425788

Log:
  multimedia/plexhometheater: unbreak build after r425442
  
  xbmc/cores/dvdplayer/DVDPlayerAudioResampler.cpp:77:12: error:
        cannot initialize a variable of type 'float *' with an lvalue of type 'const float *'
    float*   outputptr = m_converterdata.data_in;
             ^           ~~~~~~~~~~~~~~~~~~~~~~~
  
  Reported by:	pkg-fallout
  Pointy hat to:	@bapt (and upstream)
  Approved by:	portmgr blanket

Added:
  head/multimedia/plexhometheater/files/patch-xbmc_cores_dvdplayer_DVDPlayerAudioResampler.cpp   (contents, props changed)

Added: head/multimedia/plexhometheater/files/patch-xbmc_cores_dvdplayer_DVDPlayerAudioResampler.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/plexhometheater/files/patch-xbmc_cores_dvdplayer_DVDPlayerAudioResampler.cpp	Wed Nov  9 10:51:23 2016	(r425788)
@@ -0,0 +1,11 @@
+--- xbmc/cores/dvdplayer/DVDPlayerAudioResampler.cpp.orig	2015-05-11 07:54:22 UTC
++++ xbmc/cores/dvdplayer/DVDPlayerAudioResampler.cpp
+@@ -74,7 +74,7 @@ void CDVDPlayerResampler::Add(DVDAudioFr
+ 
+   //add samples to the resample input buffer
+   int16_t* inputptr  = (int16_t*)audioframe.data;
+-  float*   outputptr = m_converterdata.data_in;
++  float*   outputptr = (float*)m_converterdata.data_in;
+ 
+   for (int i = 0; i < nrframes * m_nrchannels; i++)
+     *outputptr++ = (float)*inputptr++ / scale;


More information about the svn-ports-all mailing list