]> git.sesse.net Git - vlc/commitdiff
Clarify code path (help static analyzers).
authorRémi Duraffort <ivoire@videolan.org>
Sun, 3 Apr 2011 09:10:44 +0000 (11:10 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Sun, 3 Apr 2011 09:10:44 +0000 (11:10 +0200)
modules/stream_out/rtp.c

index 4d1648a21cb2468e96e3fd9b40923f8d83922e32..f6111e88b17398ca15e076fc0c2fd3f53d93b532 100644 (file)
@@ -1402,11 +1402,14 @@ static void* ThreadSend( void *data )
                 out->i_buffer = len;
         }
         if (out)
-#endif
             mwait (out->i_dts + i_caching);
         vlc_cleanup_pop ();
         if (out == NULL)
             continue;
+#else
+        mwait (out->i_dts + i_caching);
+        vlc_cleanup_pop ();
+#endif
 
         ssize_t len = out->i_buffer;
         int canc = vlc_savecancel ();