summaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer-plugins/files/patch-ext_mad_gstid3tag.c
blob: 288478b296cd3af07cf9d122aa7aa0471f0dd6e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- ext/mad/gstid3tag.c.orig    Fri Dec 19 15:09:09 2003
+++ ext/mad/gstid3tag.c Fri Dec 19 15:09:33 2003
@@ -474,8 +474,9 @@
      tmp = strtoul (utf8, &check, 10);
      if (*check != '\0') break;
      if (strcmp (tag_name, GST_TAG_DATE) == 0) {
+       GDate *d;
        if (tmp == 0) break;
-       GDate *d = g_date_new_dmy (1, 1, tmp);
+       d = g_date_new_dmy (1, 1, tmp);
        tmp = g_date_get_julian (d);
        g_date_free (d);
      }