Updated mpg123 decoder to v1.25.8 (2017-12-02), compiled with GCC 7.2.0.
[LameXP.git] / etc / Patches / mpg123-FlushProgressFix.V1.diff
blobd7fdad74cf86f58849087037397b58f949b58306
1 src/common.c | 2 ++
2 1 file changed, 2 insertions(+)
4 diff --git a/src/common.c b/src/common.c
5 index cb0c092..bc1b440 100644
6 --- a/src/common.c
7 +++ b/src/common.c
8 @@ -429,6 +429,7 @@ void print_stat(mpg123_handle *fr, long offset, out123_handle *ao, int draw_bar)
9 else
10 #endif
11 fprintf(stderr, "\r%s", line);
12 + fflush(stderr);
15 /* Check for changed tags here too? */
16 @@ -437,6 +438,7 @@ void print_stat(mpg123_handle *fr, long offset, out123_handle *ao, int draw_bar)
17 if(line) /* Clear the inverse video. */
18 fprintf(stderr, "\r%s", line);
19 fprintf(stderr, "\nICY-META: %s\n", icy);
20 + fflush(stderr);
22 if(line && line != linebuf)
23 free(line);