浏览代码

rtmp-services: Fix unused parameter

jpark37 4 年之前
父节点
当前提交
033a29ef9a
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      plugins/rtmp-services/rtmp-custom.c

+ 2 - 0
plugins/rtmp-services/rtmp-custom.c

@@ -115,6 +115,8 @@ static const char *rtmp_custom_password(void *data)
 static void rtmp_custom_apply_settings(void *data, obs_data_t *video_settings,
 				       obs_data_t *audio_settings)
 {
+	UNUSED_PARAMETER(audio_settings);
+
 	struct rtmp_custom *service = data;
 	if (service->server != NULL && video_settings != NULL &&
 	    strncmp(service->server, RTMP_PROTOCOL, strlen(RTMP_PROTOCOL)) !=