From c3d28f081ec9263980e863316a3eeae177a15be4 Mon Sep 17 00:00:00 2001 From: waker Date: Sun, 30 Jan 2011 11:48:21 +0100 Subject: fixed mp3 FILE_SIZE property --- plugins/mpgmad/mpgmad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3