You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	Use atexit() instead of defining a custom exit_program() interface.
This commit is contained in:
		
				
					committed by
					
						 Derek Buitenhuis
						Derek Buitenhuis
					
				
			
			
				
	
			
			
			
						parent
						
							bd680c7b49
						
					
				
				
					commit
					5e3f9979fa
				
			| @@ -400,15 +400,9 @@ int64_t guess_correct_pts(PtsCorrectionContext *ctx, int64_t pts, int64_t dts); | ||||
| FILE *get_preset_file(char *filename, size_t filename_size, | ||||
|                       const char *preset_name, int is_path, const char *codec_name); | ||||
|  | ||||
| /** | ||||
|  * Do all the necessary cleanup and abort. | ||||
|  * This function is implemented in the avtools, not cmdutils. | ||||
|  */ | ||||
| av_noreturn void exit_program(int ret); | ||||
|  | ||||
| /** | ||||
|  * Realloc array to hold new_size elements of elem_size. | ||||
|  * Calls exit_program() on failure. | ||||
|  * Calls exit() on failure. | ||||
|  * | ||||
|  * @param elem_size size in bytes of each element | ||||
|  * @param size new element count will be written here | ||||
|   | ||||
		Reference in New Issue
	
	Block a user