aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/gme_decoder_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decoder/gme_decoder_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/gme_decoder_plugin.c b/src/decoder/gme_decoder_plugin.c
index 4ca1b2eaf..cdabd36a6 100644
--- a/src/decoder/gme_decoder_plugin.c
+++ b/src/decoder/gme_decoder_plugin.c
@@ -80,7 +80,6 @@ gme_file_decode(struct decoder *decoder, const char *path_fs)
static struct tag *
gme_tag_dup(const char *path_fs)
{
- struct tag *tag = tag_new();
int sample_rate = 44100;
Music_Emu *emu;
gme_info_t *ti;
@@ -96,6 +95,7 @@ gme_tag_dup(const char *path_fs)
return NULL;
}
+ struct tag *tag = tag_new();
if(ti != NULL){
if(ti->length > 0)
tag->time = ti->length / 1000;