1
0
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:
Christian Lee Seibold 2024-03-05 00:39:18 -06:00 committed by Marton Balint
parent 275add9328
commit 384cc270d2

View File

@ -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;