projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aaecb61
)
remove c99-ism
author
David Schleef
<ds@schleef.org>
Mon, 5 Jan 2004 00:58:39 +0000
(
00:58
+0000)
committer
David Schleef
<ds@schleef.org>
Mon, 5 Jan 2004 00:58:39 +0000
(
00:58
+0000)
Original commit message from CVS:
remove c99-ism
ext/mad/gstid3tag.c
patch
|
blob
|
history
diff --git
a/ext/mad/gstid3tag.c
b/ext/mad/gstid3tag.c
index
d8dc9cc
..
7f40c93
100644
(file)
--- a/
ext/mad/gstid3tag.c
+++ b/
ext/mad/gstid3tag.c
@@
-478,8
+478,10
@@
gst_mad_id3_to_tag_list(const struct id3_tag *tag)
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);
}