]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/avio.c
Merge commit 'e205fe6831fe1b5445f7827b5c916425620b4ab5'
[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;