Commit 0f6a4c5d authored by Rémi Duraffort's avatar Rémi Duraffort

Clarify code path (help static analyzers).

parent 5fb1da6b
...@@ -1402,11 +1402,14 @@ static void* ThreadSend( void *data ) ...@@ -1402,11 +1402,14 @@ static void* ThreadSend( void *data )
out->i_buffer = len; out->i_buffer = len;
} }
if (out) if (out)
#endif
mwait (out->i_dts + i_caching); mwait (out->i_dts + i_caching);
vlc_cleanup_pop (); vlc_cleanup_pop ();
if (out == NULL) if (out == NULL)
continue; continue;
#else
mwait (out->i_dts + i_caching);
vlc_cleanup_pop ();
#endif
ssize_t len = out->i_buffer; ssize_t len = out->i_buffer;
int canc = vlc_savecancel (); int canc = vlc_savecancel ();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment