mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 18:39:54 +00:00
media-info: avoid glib assert
This commit is contained in:
parent
4f3e1de776
commit
104cccdfc0
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ check_file_size (GstValidateMediaInfo * mi)
|
|||
gchar *filepath;
|
||||
guint64 size = 0;
|
||||
gboolean ret = TRUE;
|
||||
GError *err;
|
||||
GError *err = NULL;
|
||||
|
||||
filepath = g_filename_from_uri (mi->uri, NULL, &err);
|
||||
if (!filepath) {
|
||||
|
|
Loading…
Reference in a new issue