ffmpeg | branch: master | Christian Lee Seibold <christian.seibol...@outlook.com> | Tue Mar 5 00:39:18 2024 -0600| [384cc270d25ef1cc53f9cc0e047033b47cdaddd1] | committer: Marton Balint
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.seibol...@outlook.com> Signed-off-by: Marton Balint <c...@passwd.hu> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=384cc270d25ef1cc53f9cc0e047033b47cdaddd1 --- libavformat/gopher.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/gopher.c b/libavformat/gopher.c index 9497ffacf2..b022494981 100644 --- a/libavformat/gopher.c +++ b/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; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".