summaryrefslogtreecommitdiff
path: root/apps/codecs/ape.c
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2008-12-29 19:49:48 +0000
committerBertrik Sikken <bertrik@sikken.nl>2008-12-29 19:49:48 +0000
commit8e22f7f5b048cf7a46a3132cfbc9f2e38ccec076 (patch)
treec03dc8a4e2178274d6583662a23a5675223a6a98 /apps/codecs/ape.c
parent6316e0ff53e0c8b3a1f2edf61fc54017eb997e20 (diff)
downloadrockbox-8e22f7f5b048cf7a46a3132cfbc9f2e38ccec076.tar.gz
rockbox-8e22f7f5b048cf7a46a3132cfbc9f2e38ccec076.zip
Make local functions static in codecs, where possible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19612 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/ape.c')
-rw-r--r--apps/codecs/ape.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/codecs/ape.c b/apps/codecs/ape.c
index 0419a6f6bd..dbe6e0fc9e 100644
--- a/apps/codecs/ape.c
+++ b/apps/codecs/ape.c
@@ -57,11 +57,11 @@ static int32_t decoded1[BLOCKS_PER_LOOP] IBSS_ATTR;
57 skip in that frame. 57 skip in that frame.
58*/ 58*/
59 59
60bool ape_calc_seekpos(struct ape_ctx_t* ape_ctx, 60static bool ape_calc_seekpos(struct ape_ctx_t* ape_ctx,
61 uint32_t new_sample, 61 uint32_t new_sample,
62 uint32_t* newframe, 62 uint32_t* newframe,
63 uint32_t* filepos, 63 uint32_t* filepos,
64 uint32_t* samplestoskip) 64 uint32_t* samplestoskip)
65{ 65{
66 uint32_t n; 66 uint32_t n;
67 67
@@ -82,9 +82,9 @@ bool ape_calc_seekpos(struct ape_ctx_t* ape_ctx,
82/* The resume offset is a value in bytes - we need to 82/* The resume offset is a value in bytes - we need to
83 turn it into a frame number and samplestoskip value */ 83 turn it into a frame number and samplestoskip value */
84 84
85void ape_resume(struct ape_ctx_t* ape_ctx, size_t resume_offset, 85static void ape_resume(struct ape_ctx_t* ape_ctx, size_t resume_offset,
86 uint32_t* currentframe, uint32_t* samplesdone, 86 uint32_t* currentframe, uint32_t* samplesdone,
87 uint32_t* samplestoskip, int* firstbyte) 87 uint32_t* samplestoskip, int* firstbyte)
88{ 88{
89 off_t newfilepos; 89 off_t newfilepos;
90 int64_t framesize; 90 int64_t framesize;