summaryrefslogtreecommitdiff
path: root/libavformat/url.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/url.c')
-rw-r--r--libavformat/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/url.c b/libavformat/url.c
index eeda1f0297..92cd5f183a 100644
--- a/libavformat/url.c
+++ b/libavformat/url.c
@@ -111,7 +111,7 @@ void ff_make_absolute_url(char *buf, int size, const char *base,
/* Strip off any query string from base */
path_query = strchr(buf, '?');
- if (path_query != NULL)
+ if (path_query)
*path_query = '\0';
/* Is relative path just a new query part? */