You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	avformat/rtmphttp: fix bug for rtmphttp
if the http server don't response the http command, then the thread will be blocked and never be interrupted. Reported-by: yinyunjiang <yinyunjiang1991@qq.com> Signed-off-by: Steven Liu <lq@chinaffmpeg.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
		
				
					committed by
					
						 Michael Niedermayer
						Michael Niedermayer
					
				
			
			
				
	
			
			
			
						parent
						
							3d8a8fd27e
						
					
				
				
					commit
					16ff54664a
				
			| @@ -208,7 +208,7 @@ static int rtmp_http_open(URLContext *h, const char *uri, int flags) | ||||
|     } | ||||
|  | ||||
|     /* alloc the http context */ | ||||
|     if ((ret = ffurl_alloc(&rt->stream, url, AVIO_FLAG_READ_WRITE, NULL)) < 0) | ||||
|     if ((ret = ffurl_alloc(&rt->stream, url, AVIO_FLAG_READ_WRITE, &h->interrupt_callback)) < 0) | ||||
|         goto fail; | ||||
|  | ||||
|     /* set options */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user