Browse Source

coreaudio-encoder: Fix registering non-existing functions

Palana 10 years ago
parent
commit
13681e9b1c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/coreaudio-encoder/encoder.cpp

+ 1 - 1
plugins/coreaudio-encoder/encoder.cpp

@@ -1358,7 +1358,7 @@ bool obs_module_load(void)
 	CA_LOG(LOG_INFO, "Adding CoreAudio AAC encoder");
 	CA_LOG(LOG_INFO, "Adding CoreAudio AAC encoder");
 #endif
 #endif
 
 
-	struct obs_encoder_info aac_info;
+	struct obs_encoder_info aac_info{};
 	aac_info.id = "CoreAudio_AAC";
 	aac_info.id = "CoreAudio_AAC";
 	aac_info.type = OBS_ENCODER_AUDIO;
 	aac_info.type = OBS_ENCODER_AUDIO;
 	aac_info.codec = "AAC";
 	aac_info.codec = "AAC";