mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
mpegvideoparse: make this build with older glib
g_list_free_full is a new convenience function. Replace it with g_list_foreach and g_list_free. https://bugzilla.gnome.org/show_bug.cgi?id=658450
This commit is contained in:
parent
724d7a3def
commit
1a6dbe1e27
1 changed files with 2 additions and 1 deletions
|
@ -497,7 +497,8 @@ end:
|
|||
ret = FALSE;
|
||||
}
|
||||
|
||||
g_list_free_full (mpvparse->typeoffsize, (GDestroyNotify) g_free);
|
||||
g_list_foreach (mpvparse->typeoffsize, (GFunc) g_free, NULL);
|
||||
g_list_free (mpvparse->typeoffsize);
|
||||
mpvparse->typeoffsize = NULL;
|
||||
|
||||
return ret;
|
||||
|
|
Loading…
Reference in a new issue