[mythtv-users] Can't Emerge Latest Mythmusic Ebuild

Simon Kenyon simon at koala.ie
Tue May 31 18:10:13 UTC 2005


On Saturday 28 May 2005 17:29, Michael Haan wrote:
> I get the following:
>
> aacdecoder.cpp: In member function `bool aacDecoder::initializeMP4()':
> aacdecoder.cpp:298: error: cannot convert `long unsigned int*' to
> `uint32_t*' for argument `4' to `int8_t faacDecInit2(void*, uint8_t*,
> uint32_t, uint32_t*, uint8_t*)'
> make[2]: *** [aacdecoder.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory
> `/var/tmp/portage/mythmusic-0.18.1/work/mythplugins-0.18.1/mythmusic/mythmu
>sic' make[1]: *** [sub-mythmusic] Error 2
> make[1]: Leaving directory
> `/var/tmp/portage/mythmusic-0.18.1/work/mythplugins-0.18.1/mythmusic'
> make: *** [sub-mythmusic] Error 2

the gentoo bods keep tricking around with faad2
i have the following patch that i use (in my myth cvs ebuilds)
as usual YMMV

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;

regards
-- 
simon



More information about the mythtv-users mailing list