Browse Source

obs-ffmpeg/ffmpeg-mux: Fix variable case

Maya Venkatraman 5 years ago
parent
commit
c574b65488
1 changed files with 3 additions and 3 deletions
  1. 3 3
      plugins/obs-ffmpeg/ffmpeg-mux/ffmpeg-mux.c

+ 3 - 3
plugins/obs-ffmpeg/ffmpeg-mux/ffmpeg-mux.c

@@ -568,13 +568,13 @@ static int ffmpeg_mux_init_context(struct ffmpeg_mux *ffm)
 {
 {
 	AVOutputFormat *output_format;
 	AVOutputFormat *output_format;
 	int ret;
 	int ret;
-	bool isNetwork = false;
+	bool is_network = false;
 	if (strncmp(ffm->params.file, SRT_PROTO, sizeof(SRT_PROTO) - 1) == 0 ||
 	if (strncmp(ffm->params.file, SRT_PROTO, sizeof(SRT_PROTO) - 1) == 0 ||
 	    strncmp(ffm->params.file, UDP_PROTO, sizeof(UDP_PROTO) - 1) == 0 ||
 	    strncmp(ffm->params.file, UDP_PROTO, sizeof(UDP_PROTO) - 1) == 0 ||
 	    strncmp(ffm->params.file, TCP_PROTO, sizeof(TCP_PROTO) - 1) == 0)
 	    strncmp(ffm->params.file, TCP_PROTO, sizeof(TCP_PROTO) - 1) == 0)
-		isNetwork = true;
+		is_network = true;
 
 
-	if (isNetwork) {
+	if (is_network) {
 		avformat_network_init();
 		avformat_network_init();
 		output_format = av_guess_format("mpegts", NULL, "video/M2PT");
 		output_format = av_guess_format("mpegts", NULL, "video/M2PT");
 	} else {
 	} else {