media-info: avoid glib assert

This commit is contained in:
Thiago Santos 2013-08-23 17:26:51 -03:00
parent 4f3e1de776
commit 104cccdfc0

View file

@ -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) {