@ -364,7 +364,7 @@ int mpg123_format( mpg123_handle_t *mh, long rate, int channels, int encodings )
@@ -364,7 +364,7 @@ int mpg123_format( mpg123_handle_t *mh, long rate, int channels, int encodings )
@ -189,7 +190,7 @@ int mpg123_param( mpg123_handle_t *mh, enum mpg123_parms key, long val )
@@ -189,7 +190,7 @@ int mpg123_param( mpg123_handle_t *mh, enum mpg123_parms key, long val )
}
}
intmpg123_close(mpg123_handle_t*mh)
staticintmpg123_close(mpg123_handle_t*mh)
{
if(mh==NULL)
returnMPG123_BAD_HANDLE;
@ -263,7 +264,7 @@ int mpg123_replace_reader_handle( mpg123_handle_t *mh, mpg_ssize_t (*fread)( voi
@@ -263,7 +264,7 @@ int mpg123_replace_reader_handle( mpg123_handle_t *mh, mpg_ssize_t (*fread)( voi
// a) a new choice of decoder
// b) a changed native format of the MPEG stream
// ... calls are only valid after parsing some MPEG frame!
intdecode_update(mpg123_handle_t*mh)
staticintdecode_update(mpg123_handle_t*mh)
{
longnative_rate;
intb;
@ -320,13 +321,13 @@ int decode_update( mpg123_handle_t *mh )
@@ -320,13 +321,13 @@ int decode_update( mpg123_handle_t *mh )
return0;
}
size_tmpg123_safe_buffer(void)
staticsize_tmpg123_safe_buffer(void)
{
// real is the largest possible output
returnsizeof(float)*2*1152;
}
size_tmpg123_outblock(mpg123_handle_t*mh)
staticsize_tmpg123_outblock(mpg123_handle_t*mh)
{
// try to be helpful and never return zero output block size.
if(mh!=NULL&&mh->outblock>0)
@ -697,7 +698,7 @@ int mpg123_getformat( mpg123_handle_t *mh, int *rate, int *channels, int *encodi
@@ -697,7 +698,7 @@ int mpg123_getformat( mpg123_handle_t *mh, int *rate, int *channels, int *encodi
returnMPG123_OK;
}
intmpg123_scan(mpg123_handle_t*mh)
staticintmpg123_scan(mpg123_handle_t*mh)
{
mpg_off_ttrack_frames=0;
mpg_off_ttrack_samples=0;
@ -963,8 +964,10 @@ const char *mpg123_plain_strerror( int errcode )
@@ -963,8 +964,10 @@ const char *mpg123_plain_strerror( int errcode )