[FFmpeg-devel] [RFC PATCH] avformat: remove HLS protocol

Marton Balint cus at passwd.hu
Wed Jul 9 00:01:16 EEST 2025



On Tue, 8 Jul 2025, Martin Storsjö wrote:

> On Tue, 8 Jul 2025, Marvin Scholz wrote:
>
>>  The use of this protocol was already discouraged and warned about
>>  for years with the recommendation to use the HLS demuxer instead.
>>  ---
>>  doc/protocols.texi      |  20 ---
>>  libavformat/Makefile    |   2 -
>>  libavformat/hlsproto.c  | 318 ----------------------------------------
>>  libavformat/protocols.c |   1 -
>>  4 files changed, 341 deletions(-)
>>  delete mode 100644 libavformat/hlsproto.c
>
> I'm ok with this removal.
>
> I'll leave it up to others to clarify if it's ok to just remove it outright 
> or if we need to do some even further deprecation around it, etc. (We've had 
> an explicit warning discouraging the use of this since 
> 9cb9c6c42dcd08746e0684eeacccf8b89b12e571 in 2012.)

I think it is fine to simply remove it. Maybe add a changelog entry for 
the removal.

Regards,
Marton


More information about the ffmpeg-devel mailing list