Message ID | SA1P222MB1134AF8D8CD1549D768A99ACF8222@SA1P222MB1134.NAMP222.PROD.OUTLOOK.COM |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel,1/1] avformat/gopher: Add audio and video itemtypes | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
On Tue, 5 Mar 2024, Christian Lee Seibold wrote: > 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); Will apply. Thanks, Marton > -- > 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". >
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);
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(+)