summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/myth/release-fixes/plugins/mythmusic/gcc4.3.patch
blob: 564c434d2bcc3f20e6f214ee18290b4d2e2d04ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Index: mythmusic/mythmusic/aacdecoder.cpp
===================================================================
--- mythmusic/mythmusic/aacdecoder.cpp	(revision 17452)
+++ mythmusic/mythmusic/aacdecoder.cpp	(working copy)
@@ -19,6 +19,7 @@
 #include <qobject.h>
 #include <qiodevice.h>
 #include <qfile.h>
+#include <stdlib.h>
 
 #include "aacdecoder.h"
 #include "constants.h"
Index: mythmusic/mythmusic/aacdecoder.h
===================================================================
--- mythmusic/mythmusic/aacdecoder.h	(revision 17452)
+++ mythmusic/mythmusic/aacdecoder.h	(working copy)
@@ -51,7 +51,7 @@
     bool done, finish;
     long len, bitrate;
     uchar channels;
-    unsigned long sample_rate;
+    uint32_t sample_rate;
     unsigned long output_size;
     double totalTime, seekTime;
 
Index: mythmusic/mythmusic/metaiomp4.cpp
===================================================================
--- mythmusic/mythmusic/metaiomp4.cpp	(revision 17452)
+++ mythmusic/mythmusic/metaiomp4.cpp	(working copy)
@@ -3,6 +3,7 @@
 #include <fcntl.h>
 #include <unistd.h>
 #include <sys/types.h>
+#include <stdlib.h>
 
 using namespace std;