mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
remove c99-ism
Original commit message from CVS: remove c99-ism
This commit is contained in:
parent
aaecb6156a
commit
151cca6d7f
1 changed files with 3 additions and 1 deletions
|
@ -478,8 +478,10 @@ gst_mad_id3_to_tag_list(const struct id3_tag *tag)
|
||||||
tmp = strtoul (utf8, &check, 10);
|
tmp = strtoul (utf8, &check, 10);
|
||||||
if (*check != '\0') break;
|
if (*check != '\0') break;
|
||||||
if (strcmp (tag_name, GST_TAG_DATE) == 0) {
|
if (strcmp (tag_name, GST_TAG_DATE) == 0) {
|
||||||
|
GDate *d;
|
||||||
|
|
||||||
if (tmp == 0) break;
|
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);
|
tmp = g_date_get_julian (d);
|
||||||
g_date_free (d);
|
g_date_free (d);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue