diff options
Diffstat (limited to 'src/totem-uri.c')
-rw-r--r-- | src/totem-uri.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/totem-uri.c b/src/totem-uri.c index 7104f776e..eaa7a726e 100644 --- a/src/totem-uri.c +++ b/src/totem-uri.c @@ -336,6 +336,8 @@ totem_uri_get_subtitle_for_uri (const char *uri) guint len, i; gint suffix; + g_return_val_if_fail (uri != NULL, NULL); + /* Find the filename suffix delimiter */ len = strlen (uri); for (suffix = len - 1; suffix > 0; suffix--) { |