mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-28 00:39:19 -04:00
obs-outputs: Remove unused thread return variable
This commit is contained in:
1 parent
a2a372c141
commit
a0e112ffd9
1 file changed
+2
-3
@@ -158,16 +158,15 @@ fail:
|
||||
static void rtmp_stream_stop(void *data)
|
||||
{
|
||||
struct rtmp_stream *stream = data;
|
||||
void *ret;
|
||||
|
||||
os_event_signal(stream->stop_event);
|
||||
|
||||
if (stream->connecting)
|
||||
pthread_join(stream->connect_thread, &ret);
|
||||
pthread_join(stream->connect_thread, NULL);
|
||||
|
||||
if (stream->active) {
|
||||
os_sem_post(stream->send_sem);
|
||||
pthread_join(stream->send_thread, &ret);
|
||||
pthread_join(stream->send_thread, NULL);
|
||||
obs_output_end_data_capture(stream->output);
|
||||
RTMP_Close(&stream->rtmp);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user