mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
Fix c99-ism
Original commit message from CVS: Fix c99-ism
This commit is contained in:
parent
2808017a3e
commit
5a23c64e9b
1 changed files with 5 additions and 2 deletions
|
@ -491,10 +491,13 @@ gst_tag_list_to_vorbiscomment_buffer (const GstTagList *list, const guint8 *id_d
|
|||
*((guint32 *) data) = GUINT32_TO_LE (my_data.count);
|
||||
data += 4;
|
||||
for (i = 0; i < my_data.count; i++) {
|
||||
guint size;
|
||||
gchar *cur;
|
||||
|
||||
g_assert (l != NULL);
|
||||
gchar *cur = l->data;
|
||||
cur = l->data;
|
||||
l = g_list_next (l);
|
||||
guint size = strlen (cur);
|
||||
size = strlen (cur);
|
||||
*((guint32 *) data) = GUINT32_TO_LE (size);
|
||||
data += 4;
|
||||
memcpy (data, cur, size);
|
||||
|
|
Loading…
Reference in a new issue