audacious-plugins-3.3.4-mpg123-frames-overflow-fix.diff
src/mpg123/mpg123.c | ||
---|---|---|
385 | 385 |
pthread_mutex_unlock (& mutex); |
386 | 386 | |
387 | 387 |
int64_t frames_played = 0; |
388 |
int64_t frames_total = (stop_time - start_time) * ctx.rate / 1000; |
|
388 |
int64_t frames_total = (int64_t)(stop_time - start_time) * ctx.rate / 1000;
|
|
389 | 389 | |
390 | 390 |
while (1) |
391 | 391 |
{ |