Browse Source

Merge pull request #803 from derrod/ffoutextfix

UI: Fix ffmpeg output file extension
Jim 8 years ago
parent
commit
b956dbe6aa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      UI/window-basic-settings.cpp

+ 1 - 1
UI/window-basic-settings.cpp

@@ -2612,7 +2612,7 @@ void OBSBasicSettings::SaveFormat(QComboBox *combo)
 
 		char *comma = strchr(&extStr[0], ',');
 		if (comma)
-			comma = 0;
+			*comma = 0;
 
 		config_set_string(main->Config(), "AdvOut", "FFExtension",
 				extStr.c_str());