Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Christian Lee Seibold <christian.seibold32@outlook.com>
To: ffmpeg-devel@ffmpeg.org
Cc: Christian Lee Seibold <christian.seibold32@outlook.com>
Subject: [FFmpeg-devel] [PATCH 1/1] avformat/gopher: Add audio and video itemtypes
Date: Tue,  5 Mar 2024 00:39:18 -0600
Message-ID: <SA1P222MB1134AF8D8CD1549D768A99ACF8222@SA1P222MB1134.NAMP222.PROD.OUTLOOK.COM> (raw)

The 's', ';', and '<' itemtypes are used for audio and video by
Gophernicus and Gopher+.

Signed-off-by: Christian Lee Seibold <christian.seibold32@outlook.com>
---
 libavformat/gopher.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavformat/gopher.c b/libavformat/gopher.c
index 9497ffacf2..97ac9028a1 100644
--- a/libavformat/gopher.c
+++ b/libavformat/gopher.c
@@ -49,6 +49,9 @@ static int gopher_connect(URLContext *h, const char *path)
     if (!*path) return AVERROR(EINVAL);
     switch (*++path) {
         case '5':
+        case 's':
+        case '<':
+        case ';':
         case '9':
             path = strchr(path, '/');
             if (!path) return AVERROR(EINVAL);
-- 
2.41.0.windows.2

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

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

             reply	other threads:[~2024-03-05  6:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-05  6:39 Christian Lee Seibold [this message]
2024-03-12 21:58 ` Marton Balint

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SA1P222MB1134AF8D8CD1549D768A99ACF8222@SA1P222MB1134.NAMP222.PROD.OUTLOOK.COM \
    --to=christian.seibold32@outlook.com \
    --cc=ffmpeg-devel@ffmpeg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git