You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	avdevice/decklink_common: fix COM initialization failure check
Signed-off-by: Jonathan Baecker <jonbae77@gmail.com> Reviewed-by: Ramiro Polla <ramiro.polla@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		
				
					committed by
					
						 Michael Niedermayer
						Michael Niedermayer
					
				
			
			
				
	
			
			
			
						parent
						
							534f901fca
						
					
				
				
					commit
					868cec5874
				
			| @@ -42,7 +42,7 @@ IDeckLinkIterator *CreateDeckLinkIteratorInstance(void) | ||||
| { | ||||
|     IDeckLinkIterator *iter; | ||||
|  | ||||
|     if (CoInitialize(NULL) != S_OK) { | ||||
|     if (CoInitialize(NULL) < 0) { | ||||
|         av_log(NULL, AV_LOG_ERROR, "COM initialization failed.\n"); | ||||
|         return NULL; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user