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>
release/7.0
Christian Lee Seibold 10 months ago committed by Marton Balint
parent 275add9328
commit 384cc270d2
  1. 3
      libavformat/gopher.c

@ -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…
Cancel
Save