Merge commit '4b1f5e5090abed6c618c8ba380cd7d28d140f867'
[ffmpeg.git] / libavformat / avio.c
index 307b703..326bb0a 100644 (file)
@@ -98,7 +98,7 @@ int ffurl_register_protocol(URLProtocol *protocol)
 {
     URLProtocol **p;
     p = &first_protocol;
-    while (*p != NULL)
+    while (*p)
         p = &(*p)->next;
     *p             = protocol;
     protocol->next = NULL;