This adds support for the gif gopher type. Since ffmpeg can work with GIF
files, it makes sense to support it in the Gopher protocol.

Signed-off-by: parazyd <para...@dyne.org>
---
 libavformat/gopher.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/gopher.c b/libavformat/gopher.c
index 3070b24caf..3420abd8fb 100644
--- a/libavformat/gopher.c
+++ b/libavformat/gopher.c
@@ -46,6 +46,7 @@ static int gopher_connect(URLContext *h, const char *path)
     switch (*++path) {
         case '5':
         case '9':
+        case 'g':
             path = strchr(path, '/');
             if (!path) return AVERROR(EINVAL);
             break;
-- 
2.26.1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to