[FFmpeg-devel] [PATCH v4 3/5] avformat/hls: relay programs to child muxers
Anton Khirnov
anton at khirnov.net
Mon Feb 20 17:35:48 EET 2023
Quoting Gyan Doshi (2023-02-18 05:49:47)
> ---
> libavformat/hlsenc.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
> index e1f96feda3..74db447085 100644
> --- a/libavformat/hlsenc.c
> +++ b/libavformat/hlsenc.c
> @@ -911,6 +911,14 @@ FF_ENABLE_DEPRECATION_WARNINGS
> st->id = vs->streams[i]->id;
> }
>
> + for (i = 0; i < s->nb_programs; i++) {
> + ret = av_program_copy(oc, (const AVFormatContext *)s, s->programs[i]->id, 0);
are the casts really needed?
--
Anton Khirnov
More information about the ffmpeg-devel
mailing list