You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	Merge commit '3ee2ec5ec1e39a438f89302d949c93a1b5d365a2'
* commit '3ee2ec5ec1e39a438f89302d949c93a1b5d365a2': unix: Use rw_timeout for setting the connect timeout Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
		| @@ -72,6 +72,9 @@ static int unix_open(URLContext *h, const char *filename, int flags) | ||||
|     if ((fd = ff_socket(AF_UNIX, s->type, 0)) < 0) | ||||
|         return ff_neterrno(); | ||||
|  | ||||
|     if (s->timeout < 0 && h->rw_timeout) | ||||
|         s->timeout = h->rw_timeout / 1000; | ||||
|  | ||||
|     if (s->listen) { | ||||
|         ret = ff_listen_bind(fd, (struct sockaddr *)&s->addr, | ||||
|                              sizeof(s->addr), s->timeout, h); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user