You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	attributes: add av_noreturn
Also use it in the declaration of the various exit_program implementations in avtools. inspired by a clang-scan report.
This commit is contained in:
		| @@ -373,7 +373,7 @@ FILE *get_preset_file(char *filename, size_t filename_size, | ||||
|  * Do all the necessary cleanup and abort. | ||||
|  * This function is implemented in the avtools, not cmdutils. | ||||
|  */ | ||||
| void exit_program(int ret); | ||||
| av_noreturn void exit_program(int ret); | ||||
|  | ||||
| /** | ||||
|  * Realloc array to hold new_size elements of elem_size. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user