mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
mxfmux: Fix uninitialized variable compiler warning
This will always be set to something but gcc didn't detect this. Fixes bug #582013.
This commit is contained in:
parent
028efb726c
commit
6451febd14
1 changed files with 3 additions and 1 deletions
|
@ -932,7 +932,7 @@ gst_mxf_mux_create_metadata (GstMXFMux * mux)
|
|||
/* Sort descriptors at the correct places */
|
||||
{
|
||||
GList *l;
|
||||
GList *descriptors;
|
||||
GList *descriptors = NULL;
|
||||
|
||||
for (l = mux->metadata_list; l; l = l->next) {
|
||||
MXFMetadataBase *m = l->data;
|
||||
|
@ -946,6 +946,8 @@ gst_mxf_mux_create_metadata (GstMXFMux * mux)
|
|||
}
|
||||
}
|
||||
|
||||
g_assert (descriptors != NULL);
|
||||
|
||||
for (l = mux->metadata_list; l; l = l->next) {
|
||||
MXFMetadataBase *m = l->data;
|
||||
GList *s;
|
||||
|
|
Loading…
Reference in a new issue