mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +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:
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;
|
||||
|
Loading…
Reference in New Issue
Block a user