]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/avio.c
Merge commit '91d305790ea0f6fe0f54b48236da42181c39c18b'
[ffmpeg] / libavformat / avio.c
index 307b7036d9edeadeece922c9e7b4315c1ae251f2..326bb0aa780c0b69352f702a4177857eaef39028 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;