mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
Support gcc-2.9x, too
Original commit message from CVS: Support gcc-2.9x, too
This commit is contained in:
parent
b5c340df0d
commit
98670720c1
3 changed files with 15 additions and 9 deletions
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit 8b323f41bfaccb8f30bddfc6ff8bd6a4be04a3e1
|
||||
Subproject commit 6b0a313b93535f0df7956a01405ddb63a3d76b5a
|
|
@ -508,13 +508,16 @@ _file_index_id_save_entries (gpointer *_key,
|
|||
GstFileIndexId *ii,
|
||||
gchar *prefix)
|
||||
{
|
||||
GError *err;
|
||||
gchar *path;
|
||||
GIOChannel *chan;
|
||||
|
||||
if (!ii->array)
|
||||
return;
|
||||
|
||||
GError *err = NULL;
|
||||
gchar *path = g_strdup_printf ("%s/%d", prefix, ii->id);
|
||||
GIOChannel *chan =
|
||||
g_io_channel_new_file (path, "w", &err);
|
||||
err = NULL;
|
||||
path = g_strdup_printf ("%s/%d", prefix, ii->id);
|
||||
chan = g_io_channel_new_file (path, "w", &err);
|
||||
g_free (path);
|
||||
if (err) goto fail;
|
||||
|
||||
|
|
|
@ -508,13 +508,16 @@ _file_index_id_save_entries (gpointer *_key,
|
|||
GstFileIndexId *ii,
|
||||
gchar *prefix)
|
||||
{
|
||||
GError *err;
|
||||
gchar *path;
|
||||
GIOChannel *chan;
|
||||
|
||||
if (!ii->array)
|
||||
return;
|
||||
|
||||
GError *err = NULL;
|
||||
gchar *path = g_strdup_printf ("%s/%d", prefix, ii->id);
|
||||
GIOChannel *chan =
|
||||
g_io_channel_new_file (path, "w", &err);
|
||||
err = NULL;
|
||||
path = g_strdup_printf ("%s/%d", prefix, ii->id);
|
||||
chan = g_io_channel_new_file (path, "w", &err);
|
||||
g_free (path);
|
||||
if (err) goto fail;
|
||||
|
||||
|
|
Loading…
Reference in a new issue