فهرست منبع

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)) !=