aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputPlugins/mp4_plugin.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-07-17 01:47:32 +0000
committerEric Wong <normalperson@yhbt.net>2006-07-17 01:47:32 +0000
commit6f013cd9c4575c0be5b888c55de43186a6b6d698 (patch)
treef206035284494e61078b27b19041eb70ebda635e /src/inputPlugins/mp4_plugin.c
parent5f508702229febe6c042de2d4fe6d23b855cd410 (diff)
downloadmpd-6f013cd9c4575c0be5b888c55de43186a6b6d698.tar.gz
mpd-6f013cd9c4575c0be5b888c55de43186a6b6d698.tar.xz
mpd-6f013cd9c4575c0be5b888c55de43186a6b6d698.zip
inputPlugins/*_plugin.c: static-fication
Nothing here is ever exported for linkage besides the InputPlugin structure, so mark them static to save a few bytes. git-svn-id: https://svn.musicpd.org/mpd/trunk@4382 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/inputPlugins/mp4_plugin.c')
-rw-r--r--src/inputPlugins/mp4_plugin.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/inputPlugins/mp4_plugin.c b/src/inputPlugins/mp4_plugin.c
index ae51ef987..d04e0287c 100644
--- a/src/inputPlugins/mp4_plugin.c
+++ b/src/inputPlugins/mp4_plugin.c
@@ -38,7 +38,7 @@
/* all code here is either based on or copied from FAAD2's frontend code */
-int mp4_getAACTrack(mp4ff_t *infile) {
+static int mp4_getAACTrack(mp4ff_t *infile) {
/* find AAC track */
int i, rc;
int numTracks = mp4ff_total_tracks(infile);
@@ -74,18 +74,18 @@ int mp4_getAACTrack(mp4ff_t *infile) {
return -1;
}
-uint32_t mp4_inputStreamReadCallback(void *inStream, void *buffer,
+static uint32_t mp4_inputStreamReadCallback(void *inStream, void *buffer,
uint32_t length)
{
return readFromInputStream((InputStream*) inStream, buffer, 1, length);
}
-uint32_t mp4_inputStreamSeekCallback(void *inStream, uint64_t position) {
+static uint32_t mp4_inputStreamSeekCallback(void *inStream, uint64_t position) {
return seekInputStream((InputStream *) inStream, position, SEEK_SET);
}
-int mp4_decode(OutputBuffer * cb, DecoderControl * dc, char * path) {
+static int mp4_decode(OutputBuffer * cb, DecoderControl * dc, char * path) {
mp4ff_t * mp4fh;
mp4ff_callback_t * mp4cb;
int32_t track;
@@ -314,7 +314,7 @@ int mp4_decode(OutputBuffer * cb, DecoderControl * dc, char * path) {
return 0;
}
-MpdTag * mp4DataDup(char * file, int * mp4MetadataFound) {
+static MpdTag * mp4DataDup(char * file, int * mp4MetadataFound) {
MpdTag * ret = NULL;
InputStream inStream;
mp4ff_t * mp4fh;
@@ -409,7 +409,7 @@ MpdTag * mp4DataDup(char * file, int * mp4MetadataFound) {
return ret;
}
-MpdTag * mp4TagDup(char * file) {
+static MpdTag * mp4TagDup(char * file) {
MpdTag * ret = NULL;
int mp4MetadataFound = 0;
@@ -427,7 +427,7 @@ MpdTag * mp4TagDup(char * file) {
return ret;
}
-char * mp4Suffixes[] = {"m4a", "mp4", NULL};
+static char * mp4Suffixes[] = {"m4a", "mp4", NULL};
InputPlugin mp4Plugin =
{