patch-libavformat_gopher.c - pkgsrc-localpatches - leot's pkgsrc LOCALPATCHES
(HTM) hg clone https://bitbucket.org/iamleot/pkgsrc-localpatches
(DIR) Log
(DIR) Files
(DIR) Refs
---
patch-libavformat_gopher.c
---
1 $NetBSD$
2
3 Add support for `g' and `I' item types
4
5 --- libavformat/gopher.c.orig 2018-11-01 18:34:27.000000000 +0000
6 +++ libavformat/gopher.c
7 @@ -46,6 +46,8 @@ static int gopher_connect(URLContext *h,
8 switch (*++path) {
9 case '5':
10 case '9':
11 + case 'g':
12 + case 'I':
13 path = strchr(path, '/');
14 if (!path) return AVERROR(EINVAL);
15 break;