forked from len0rd/rockbox
Make local functions static in codecs, where possible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19612 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6316e0ff53
commit
8e22f7f5b0
12 changed files with 44 additions and 44 deletions
|
|
@ -180,7 +180,7 @@ static bool flac_init(FLACContext* fc, int first_frame_offset)
|
|||
}
|
||||
|
||||
/* Synchronize to next frame in stream - adapted from libFLAC 1.1.3b2 */
|
||||
bool frame_sync(FLACContext* fc) {
|
||||
static bool frame_sync(FLACContext* fc) {
|
||||
unsigned int x = 0;
|
||||
bool cached = false;
|
||||
|
||||
|
|
@ -232,7 +232,7 @@ bool frame_sync(FLACContext* fc) {
|
|||
}
|
||||
|
||||
/* Seek to sample - adapted from libFLAC 1.1.3b2+ */
|
||||
bool flac_seek(FLACContext* fc, uint32_t target_sample) {
|
||||
static bool flac_seek(FLACContext* fc, uint32_t target_sample) {
|
||||
off_t orig_pos = ci->curpos;
|
||||
off_t pos = -1;
|
||||
unsigned long lower_bound, upper_bound;
|
||||
|
|
@ -385,7 +385,7 @@ bool flac_seek(FLACContext* fc, uint32_t target_sample) {
|
|||
}
|
||||
|
||||
/* Seek to file offset */
|
||||
bool flac_seek_offset(FLACContext* fc, uint32_t offset) {
|
||||
static bool flac_seek_offset(FLACContext* fc, uint32_t offset) {
|
||||
unsigned unparseable_count;
|
||||
bool got_a_frame = false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue