Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Nov 2016 10:51:23 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r425788 - head/multimedia/plexhometheater/files
Message-ID:  <201611091051.uA9ApN8r022110@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



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