You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-20 06:16:02 +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
parent
275add9328
commit
384cc270d2
@ -48,8 +48,11 @@ static int gopher_connect(URLContext *h, const char *path)
|
|||||||
|
|
||||||
if (!*path) return AVERROR(EINVAL);
|
if (!*path) return AVERROR(EINVAL);
|
||||||
switch (*++path) {
|
switch (*++path) {
|
||||||
|
case ';':
|
||||||
|
case '<':
|
||||||
case '5':
|
case '5':
|
||||||
case '9':
|
case '9':
|
||||||
|
case 's':
|
||||||
path = strchr(path, '/');
|
path = strchr(path, '/');
|
||||||
if (!path) return AVERROR(EINVAL);
|
if (!path) return AVERROR(EINVAL);
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user