mpg123-1.32.7
This commit is contained in:
@@ -451,7 +451,7 @@ void print_stat(mpg123_handle *fr, long offset, out123_handle *ao, int draw_bar
|
||||
free(line);
|
||||
}
|
||||
|
||||
void clear_stat()
|
||||
void clear_stat(void)
|
||||
{
|
||||
int len = term_width(STDERR_FILENO);
|
||||
if(len > 0)
|
||||
|
||||
@@ -26,7 +26,7 @@ void print_header_compact(mpg123_handle *);
|
||||
void print_stat(mpg123_handle *fr, long offset, out123_handle *ao, int draw_bar
|
||||
, struct parameter *param);
|
||||
void print_buf(const char* prefix, out123_handle *ao);
|
||||
void clear_stat();
|
||||
void clear_stat(void);
|
||||
// input: decoder and output handle, frame offset
|
||||
// output: frames, frames_remain, seconds, seconds_remain, seconds_buffered, seconds_total
|
||||
int position_info( mpg123_handle *, off_t, out123_handle *, off_t *, off_t *, double *, double *, double *, double *);
|
||||
|
||||
@@ -291,7 +291,7 @@ int translate_url(const char *url, mpg123_string *purl)
|
||||
* 2000-10-21:
|
||||
* We would like spaces to be automatically converted to %20's when
|
||||
* fetching via HTTP.
|
||||
* -- Martin Sjögren <md9ms@mdstud.chalmers.se>
|
||||
* -- Martin Sjoegren <md9ms@mdstud.chalmers.se>
|
||||
* Hm, why only spaces? Maybe one should do this http stuff more properly...
|
||||
*/
|
||||
if ((sptr = strchr(url, ' ')) == NULL)
|
||||
|
||||
@@ -207,7 +207,7 @@ static struct wrap_data* wrap_get(mpg123_handle *mh, int force_alloc)
|
||||
|
||||
/* After settling the data... start with some simple wrappers. */
|
||||
|
||||
// The fist block of wrappers is always present, using the native off_t width.
|
||||
// The first block of wrappers is always present, using the native off_t width.
|
||||
// (Exception: If explicitly disabled using FORCED_OFF_64.)
|
||||
// A second block mirrors that in case of sizeof(off_t)==4 with _32 suffix.
|
||||
// A third block follows if 64 bit off_t is available with _64 suffix, just aliasing
|
||||
|
||||
@@ -732,7 +732,7 @@ static void bc_forget(struct bufferchain *bc)
|
||||
bc->pos -= b->size;
|
||||
bc->size -= b->size;
|
||||
|
||||
debug5("bc_forget: forgot %p with %td, pos=%td, size=%td, fileoff=%td"
|
||||
debug5("bc_forget: forgot %p with %td, pos=%td, size=%td, fileoff=%"PRIi64
|
||||
, (void*)b->data, b->size, bc->pos, bc->size, bc->fileoff);
|
||||
|
||||
bc_free(bc, b);
|
||||
|
||||
@@ -178,7 +178,7 @@ static size_t prebuffer_size = 0;
|
||||
static size_t prebuffer_fill = 0;
|
||||
static size_t minbytes = 0;
|
||||
|
||||
void set_intflag()
|
||||
void set_intflag(void)
|
||||
{
|
||||
debug("set_intflag TRUE");
|
||||
intflag = TRUE;
|
||||
|
||||
@@ -148,7 +148,7 @@ extern int playlimit;
|
||||
#endif
|
||||
|
||||
/* why extern? */
|
||||
void play_prebuffer();
|
||||
void play_prebuffer(void);
|
||||
extern int play_frame(void);
|
||||
|
||||
extern int control_generic(mpg123_handle *fr);
|
||||
|
||||
@@ -300,7 +300,7 @@ static void init_playlist(void)
|
||||
pl.stdin_used = FALSE;
|
||||
}
|
||||
|
||||
int playlist_stdin()
|
||||
int playlist_stdin(void)
|
||||
{
|
||||
return pl.stdin_used;
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
/* create playlist from argv including reading of playlist file */
|
||||
void prepare_playlist(int argc, char** argv, int args_utf8, int *is_utf8);
|
||||
/* Return TRUE if standard put is used up by the playlist. */
|
||||
int playlist_stdin();
|
||||
int playlist_stdin(void);
|
||||
/* returns the next url to play or NULL when there is none left */
|
||||
char *get_next_file(void);
|
||||
/* Get current track number, optionally the total count and loop counter. */
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
// only single spaces as separator to ease parsing by build scripts
|
||||
#define MPG123_MAJOR 1
|
||||
#define MPG123_MINOR 32
|
||||
#define MPG123_PATCH 6
|
||||
#define MPG123_PATCH 7
|
||||
// Don't get too wild with that to avoid confusing m4. No brackets.
|
||||
// Also, it should fit well into a sane file name for the tarball.
|
||||
#define MPG123_SUFFIX ""
|
||||
|
||||
Reference in New Issue
Block a user