summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/command.c b/player/command.c
index 29137024ee..7e391e673f 100644
--- a/player/command.c
+++ b/player/command.c
@@ -105,7 +105,7 @@ static void mark_seek(struct MPContext *mpctx)
static char *format_bitrate(int rate)
{
- return talloc_asprintf(NULL, "%d kbps", rate * 8 / 1000);
+ return talloc_asprintf(NULL, "%d kbps", rate / 1000);
}
static char *format_file_size(int64_t size)