[mythtv] RE: [mythtv-commits] Ticket #727: mythmusic compile error
inaacdecoder.cpp
Simon Kenyon
simon at koala.ie
Tue Nov 29 10:40:52 EST 2005
I have been using the following patch for a long time now (as can see -
april). I posted it, but it was ignored
Regards
--
Simon
diff -uprN mythmusic.orig/aacdecoder.h mythmusic/aacdecoder.h
--- mythmusic.orig/aacdecoder.h 2005-04-05 17:28:24.000000000 +0100
+++ mythmusic/aacdecoder.h 2005-04-06 19:56:26.000000000 +0100
@@ -52,7 +52,7 @@ class aacDecoder : public Decoder
bool done, finish;
long len, bitrate;
uchar channels;
- unsigned long sample_rate;
+ unsigned int sample_rate;
unsigned long output_size;
double totalTime, seekTime;
-----Original Message-----
From: mythtv-commits-bounces at mythtv.org
[mailto:mythtv-commits-bounces at mythtv.org] On Behalf Of MythTV
Sent: 29 November 2005 14:02
To: mythtv-commits at mythtv.org
Subject: [mythtv-commits] Ticket #727: mythmusic compile error
inaacdecoder.cpp
#727: mythmusic compile error in aacdecoder.cpp
-------------------------------+--------------------------------------------
Reporter: mythtv at hburch.com | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone:
Component: mythmusic | Version:
Severity: medium |
-------------------------------+--------------------------------------------
{{{
make[2]: Entering directory `/root/mythplugins/mythmusic/mythmusic'
g++ -c -pipe -march=pentiumpro -mmmx -Wall -W -O3 -Wall -Wno-switch
-fomit-frame-pointer -I/usr/include/SDL -D_REENTRANT -D_REENTRANT -DPIC
-fPIC -D_GNU_SOURCE -DPREFIX=\"/usr/local\" -DMMX -Di386 -DUSING_DBOX2
-DHAVE_DVDNAV -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-DQT_PLUGIN -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++
-I. -I/usr/local/include -I/usr/kde/3.3/include -I/usr/local/include
-I/usr/include -I/usr/include -I/usr/include/cdda -I/usr/qt/3/include
-I/usr/include -o aacdecoder.o aacdecoder.cpp
aacdecoder.cpp: In member function `bool aacDecoder::initializeMP4()':
aacdecoder.cpp:298: error: invalid conversion from `long unsigned int*' to
`
uint32_t*'
myth mythmusic # gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/specs
Configured with: /var/tmp/portage/gcc-3.3.5.20050130-
r1/work/gcc-3.3.5/configure --enable-version-specific-runtime-libs
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.5-20050130
--includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130/info
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-
gnu/3.3.5-20050130/include/g++-v3 --host=i686-pc-linux-gnu --build=i686-
pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext
--with-system-zlib --disable-checking --disable-werror --disable-
libunwind-exceptions --disable-multilib --disable-libgcj --enable-
languages=c,c++,f77 --enable-shared --enable-threads=posix --enable-
__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1,
ssp-3.3.5.20050130-1, pie-8.7.7.1)
}}}
Changing sample_rate to a uint32_t fixed the compile error, but I have no
AAC recordings to test functionality on.
--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/727>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-dev
mailing list