summaryrefslogtreecommitdiff
path: root/apps/codecs/flac.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/flac.c')
-rw-r--r--apps/codecs/flac.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs/flac.c b/apps/codecs/flac.c
index cf3bbca65c..3a23d0b951 100644
--- a/apps/codecs/flac.c
+++ b/apps/codecs/flac.c
@@ -180,7 +180,7 @@ static bool flac_init(FLACContext* fc, int first_frame_offset)
180} 180}
181 181
182/* Synchronize to next frame in stream - adapted from libFLAC 1.1.3b2 */ 182/* Synchronize to next frame in stream - adapted from libFLAC 1.1.3b2 */
183bool frame_sync(FLACContext* fc) { 183static bool frame_sync(FLACContext* fc) {
184 unsigned int x = 0; 184 unsigned int x = 0;
185 bool cached = false; 185 bool cached = false;
186 186
@@ -232,7 +232,7 @@ bool frame_sync(FLACContext* fc) {
232} 232}
233 233
234/* Seek to sample - adapted from libFLAC 1.1.3b2+ */ 234/* Seek to sample - adapted from libFLAC 1.1.3b2+ */
235bool flac_seek(FLACContext* fc, uint32_t target_sample) { 235static bool flac_seek(FLACContext* fc, uint32_t target_sample) {
236 off_t orig_pos = ci->curpos; 236 off_t orig_pos = ci->curpos;
237 off_t pos = -1; 237 off_t pos = -1;
238 unsigned long lower_bound, upper_bound; 238 unsigned long lower_bound, upper_bound;
@@ -385,7 +385,7 @@ bool flac_seek(FLACContext* fc, uint32_t target_sample) {
385} 385}
386 386
387/* Seek to file offset */ 387/* Seek to file offset */
388bool flac_seek_offset(FLACContext* fc, uint32_t offset) { 388static bool flac_seek_offset(FLACContext* fc, uint32_t offset) {
389 unsigned unparseable_count; 389 unsigned unparseable_count;
390 bool got_a_frame = false; 390 bool got_a_frame = false;
391 391