diff options
Diffstat (limited to 'ext/raw1394')
-rw-r--r-- | ext/raw1394/gstdv1394src.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/raw1394/gstdv1394src.c b/ext/raw1394/gstdv1394src.c index d10c389c..84476464 100644 --- a/ext/raw1394/gstdv1394src.c +++ b/ext/raw1394/gstdv1394src.c @@ -1084,7 +1084,7 @@ gst_dv1394src_uri_set_uri (GstURIHandler * handler, const gchar * uri) g_free (protocol); location = gst_uri_get_location (uri); - if (location && (!(location == ""))) + if (location && *location != '\0') gst_dv1394src->port = strtol (location, NULL, 10); else gst_dv1394src->port = DEFAULT_PORT; |