diff options
Diffstat (limited to 'apps/codecs/ape.c')
-rw-r--r-- | apps/codecs/ape.c | 16 |
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 | ||
60 | bool ape_calc_seekpos(struct ape_ctx_t* ape_ctx, | 60 | static 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 | ||
85 | void ape_resume(struct ape_ctx_t* ape_ctx, size_t resume_offset, | 85 | static 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; |