Browse Source

rtmp-services: Fix comparison mismatch warning

jp9000 4 years ago
parent
commit
f0ab940282
1 changed files with 2 additions and 2 deletions
  1. 2 2
      plugins/rtmp-services/rtmp-common.c

+ 2 - 2
plugins/rtmp-services/rtmp-common.c

@@ -778,8 +778,8 @@ static int get_bitrate_matrix_max(json_t *array)
 		if (c != 2)
 		if (c != 2)
 			continue;
 			continue;
 
 
-		if (ovi.output_width == cx && ovi.output_height == cy &&
-		    cur_fps <= fps)
+		if ((int)ovi.output_width == cx &&
+		    (int)ovi.output_height == cy && cur_fps <= fps)
 			return bitrate;
 			return bitrate;
 	}
 	}