summaryrefslogtreecommitdiff
path: root/apps/metadata/flac.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/metadata/flac.c')
-rw-r--r--apps/metadata/flac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/metadata/flac.c b/apps/metadata/flac.c
index 21ecdd61ca..b8f440c3ed 100644
--- a/apps/metadata/flac.c
+++ b/apps/metadata/flac.c
@@ -96,7 +96,7 @@ bool get_flac_metadata(int fd, struct mp3entry* id3)
96 return false; 96 return false;
97 } 97 }
98 98
99 id3->bitrate = (id3->filesize * 8) / id3->length; 99 id3->bitrate = ((int64_t) id3->filesize * 8) / id3->length;
100 } 100 }
101 else if (type == 4) /* 4 is the VORBIS_COMMENT block */ 101 else if (type == 4) /* 4 is the VORBIS_COMMENT block */
102 { 102 {