提交 a0e112ff 编写于 作者: J jp9000

obs-outputs: Remove unused thread return variable

上级 a2a372c1
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册