[FFmpeg-devel] [PATCH 1/1] avformat/gopher: Add audio and video itemtypes

Marton Balint cus at passwd.hu
Tue Mar 12 23:58:11 EET 2024



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 at 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 at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-devel mailing list