summaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer-plugins/files/patch-ext_mad_gstid3tag.c
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/gstreamer-plugins/files/patch-ext_mad_gstid3tag.c')
-rw-r--r--multimedia/gstreamer-plugins/files/patch-ext_mad_gstid3tag.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins/files/patch-ext_mad_gstid3tag.c b/multimedia/gstreamer-plugins/files/patch-ext_mad_gstid3tag.c
new file mode 100644
index 000000000..288478b29
--- /dev/null
+++ b/multimedia/gstreamer-plugins/files/patch-ext_mad_gstid3tag.c
@@ -0,0 +1,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);
+ }