summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2010-02-24 19:02:14 +0000
committerBertrik Sikken <bertrik@sikken.nl>2010-02-24 19:02:14 +0000
commit9502021590fae30155e8a7ae1abebf7d610488d3 (patch)
tree433791f26fb82cbd2efc5f505c89d694f7f39703
parentc6e69cd886eac13fcc6c14df727757ad2ba464d5 (diff)
Add missing #include in libpcm codecs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24887 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/codecs/libpcm/dialogic_oki_adpcm.c1
-rw-r--r--apps/codecs/libpcm/dvi_adpcm.c1
-rw-r--r--apps/codecs/libpcm/ms_adpcm.c1
-rw-r--r--apps/codecs/libpcm/qt_ima_adpcm.c1
-rw-r--r--apps/codecs/libpcm/swf_adpcm.c1
-rw-r--r--apps/codecs/libpcm/yamaha_adpcm.c1
-rw-r--r--apps/metadata/oma.c2
7 files changed, 7 insertions, 1 deletions
diff --git a/apps/codecs/libpcm/dialogic_oki_adpcm.c b/apps/codecs/libpcm/dialogic_oki_adpcm.c
index e12930057b..5b643f0e34 100644
--- a/apps/codecs/libpcm/dialogic_oki_adpcm.c
+++ b/apps/codecs/libpcm/dialogic_oki_adpcm.c
@@ -21,6 +21,7 @@
#include "codeclib.h"
#include "pcm_common.h"
#include "adpcm_seek.h"
+#include "support_formats.h"
/*
* Dialogic OKI ADPCM
diff --git a/apps/codecs/libpcm/dvi_adpcm.c b/apps/codecs/libpcm/dvi_adpcm.c
index 97ba017451..c1b90e04e7 100644
--- a/apps/codecs/libpcm/dvi_adpcm.c
+++ b/apps/codecs/libpcm/dvi_adpcm.c
@@ -22,6 +22,7 @@
#include "codeclib.h"
#include "pcm_common.h"
#include "ima_adpcm_common.h"
+#include "support_formats.h"
/*
* Intel DVI ADPCM (IMA ADPCM)
diff --git a/apps/codecs/libpcm/ms_adpcm.c b/apps/codecs/libpcm/ms_adpcm.c
index 899ecc2045..7f1cb1c811 100644
--- a/apps/codecs/libpcm/ms_adpcm.c
+++ b/apps/codecs/libpcm/ms_adpcm.c
@@ -20,6 +20,7 @@
****************************************************************************/
#include "codeclib.h"
#include "pcm_common.h"
+#include "support_formats.h"
/*
* Microsoft ADPCM
diff --git a/apps/codecs/libpcm/qt_ima_adpcm.c b/apps/codecs/libpcm/qt_ima_adpcm.c
index a34e0e86cd..e99a91796d 100644
--- a/apps/codecs/libpcm/qt_ima_adpcm.c
+++ b/apps/codecs/libpcm/qt_ima_adpcm.c
@@ -21,6 +21,7 @@
#include "codeclib.h"
#include "pcm_common.h"
#include "ima_adpcm_common.h"
+#include "support_formats.h"
/*
* Apple QuickTime IMA ADPCM
diff --git a/apps/codecs/libpcm/swf_adpcm.c b/apps/codecs/libpcm/swf_adpcm.c
index 456e1cdd4c..9acab5cb4b 100644
--- a/apps/codecs/libpcm/swf_adpcm.c
+++ b/apps/codecs/libpcm/swf_adpcm.c
@@ -21,6 +21,7 @@
#include "codeclib.h"
#include "pcm_common.h"
#include "ima_adpcm_common.h"
+#include "support_formats.h"
/*
* Adobe SWF ADPCM
diff --git a/apps/codecs/libpcm/yamaha_adpcm.c b/apps/codecs/libpcm/yamaha_adpcm.c
index 6b3daa8f83..073a1dc703 100644
--- a/apps/codecs/libpcm/yamaha_adpcm.c
+++ b/apps/codecs/libpcm/yamaha_adpcm.c
@@ -21,6 +21,7 @@
#include "codeclib.h"
#include "pcm_common.h"
#include "adpcm_seek.h"
+#include "support_formats.h"
/*
* YAMAHA ADPCM
diff --git a/apps/metadata/oma.c b/apps/metadata/oma.c
index 881d81149f..1dd6150e33 100644
--- a/apps/metadata/oma.c
+++ b/apps/metadata/oma.c
@@ -97,7 +97,7 @@ enum {
* present in the ea3 (first) header. The *
* metadata in ea3 is stored as a variation of *
* the ID3v2 metadata format. */
-int oma_read_header(int fd, struct mp3entry* id3)
+static int oma_read_header(int fd, struct mp3entry* id3)
{
static const uint16_t srate_tab[6] = {320,441,480,882,960,0};
int ret, ea3_taglen, EA3_pos, jsflag;