Browse Source

rtmp-services: Fix unused parameter

jpark37 4 years ago
parent
commit
033a29ef9a
1 changed files with 2 additions and 0 deletions
  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)) !=