[FFmpeg-devel] [PATCH] avformat/avio: use av_match_name to match protocol lists

Leo Izen leo.izen at gmail.com
Fri Apr 29 04:23:55 EEST 2022


On 4/28/22 16:28, Michael Niedermayer wrote:
> On Thu, Apr 28, 2022 at 08:43:21AM -0400, Leo Izen wrote:
>> On 4/20/22 16:33, Leo Izen wrote:
>>> This swaps av_match_list to av_match_name inside ffurl_connect,
>>> which allows ALL to be treated as a valid value on the whitelist
>>> or blacklist in accordance with the behavior described in the
>>> documentation.
>>> ---
>>>    libavformat/avio.c | 4 ++--
>>>    1 file changed, 2 insertions(+), 2 deletions(-)
>>>
> protocol whitelist documents ALL
> protocol blacklist is undocumented
> codec whitelist does not document ALL
> format whitelist does not document ALL
>
This patch only affects the protocol list, and I could change it so it 
only affects the whitelist, not the blacklist. Thoughts?

-Leo Izen (thebombzen)




More information about the ffmpeg-devel mailing list