summaryrefslogtreecommitdiff
path: root/plugins/mpgmad
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-01-30 11:48:21 +0100
committerGravatar waker <wakeroid@gmail.com>2011-01-31 18:43:34 +0100
commitc3d28f081ec9263980e863316a3eeae177a15be4 (patch)
tree42806537bbe1c7d90b4f2cb5352f3c7411ed0cf2 /plugins/mpgmad
parentbbf4bf8b8f65913e27d9ed81bb7d05aff27da136 (diff)
fixed mp3 FILE_SIZE property
Diffstat (limited to 'plugins/mpgmad')
-rw-r--r--plugins/mpgmad/mpgmad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mpgmad/mpgmad.c b/plugins/mpgmad/mpgmad.c
index 6c49e760..1803ece6 100644
--- a/plugins/mpgmad/mpgmad.c
+++ b/plugins/mpgmad/mpgmad.c
@@ -586,7 +586,7 @@ cmp3_set_extra_properties (buffer_t *buffer) {
char s[100];
int64_t size = deadbeef->fgetlength (buffer->file);
if (size >= 0) {
- snprintf (s, sizeof (s), "%d", size);
+ snprintf (s, sizeof (s), "%lld", size);
deadbeef->pl_replace_meta (buffer->it, ":FILE_SIZE", s);
}
else {