You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	avformat/gopher: Add audio and video itemtypes
The 's', ';', and '<' itemtypes are used for audio and video by Gophernicus and Gopher+. Signed-off-by: Christian Lee Seibold <christian.seibold32@outlook.com> Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
		
				
					committed by
					
						 Marton Balint
						Marton Balint
					
				
			
			
				
	
			
			
			
						parent
						
							275add9328
						
					
				
				
					commit
					384cc270d2
				
			| @@ -48,8 +48,11 @@ static int gopher_connect(URLContext *h, const char *path) | ||||
|  | ||||
|     if (!*path) return AVERROR(EINVAL); | ||||
|     switch (*++path) { | ||||
|         case ';': | ||||
|         case '<': | ||||
|         case '5': | ||||
|         case '9': | ||||
|         case 's': | ||||
|             path = strchr(path, '/'); | ||||
|             if (!path) return AVERROR(EINVAL); | ||||
|             break; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user