mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 18:50:48 +00:00
ges: Fix sizeof() usage
The entries of the array are "gchar *" and not "gchar **" CID #1427091 CID #1427120
This commit is contained in:
parent
da9b08c618
commit
d91cc7e7b6
2 changed files with 2 additions and 2 deletions
|
@ -301,7 +301,7 @@ ges_asset_extract_default (GESAsset * asset, GError ** error)
|
|||
const gchar **names;
|
||||
|
||||
values = g_malloc0 (sizeof (GValue) * n_params);
|
||||
names = g_malloc0 (sizeof (gchar **) * n_params);
|
||||
names = g_malloc0 (sizeof (gchar *) * n_params);
|
||||
|
||||
for (i = 0; i < n_params; i++) {
|
||||
values[i] = params[i].value;
|
||||
|
|
|
@ -1145,7 +1145,7 @@ ges_timeline_element_copy (GESTimelineElement * self, gboolean deep)
|
|||
GValue *values;
|
||||
const gchar **names;
|
||||
values = g_malloc0 (sizeof (GValue) * n_specs);
|
||||
names = g_malloc0 (sizeof (gchar **) * n_specs);
|
||||
names = g_malloc0 (sizeof (gchar *) * n_specs);
|
||||
|
||||
for (i = 0; i < n_params; i++) {
|
||||
values[i] = params[i].value;
|
||||
|
|
Loading…
Reference in a new issue