mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-30 21:21:10 +00:00 
			
		
		
		
	Small fixes to unrechable code, possibly overflows, using NULL pointers
This commit is contained in:
		
							parent
							
								
									8c923fc617
								
							
						
					
					
						commit
						8245db869f
					
				
					 18 changed files with 48 additions and 70 deletions
				
			
		|  | @ -643,7 +643,7 @@ Ref<Texture> EditorAudioStreamPreviewPlugin::generate(const RES &p_from, const S | |||
| 		float max = -1000; | ||||
| 		float min = 1000; | ||||
| 		int from = uint64_t(i) * frame_length / w; | ||||
| 		int to = uint64_t(i + 1) * frame_length / w; | ||||
| 		int to = (uint64_t(i) + 1) * frame_length / w; | ||||
| 		to = MIN(to, frame_length); | ||||
| 		from = MIN(from, frame_length - 1); | ||||
| 		if (to == from) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 qarmin
						qarmin