This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/8.1 in repository ffmpeg.
commit 6442b04b0ff12a4b7db4cc921cbf1a9d2ed48740 Author: Jack Lau <[email protected]> AuthorDate: Wed Apr 1 09:50:12 2026 +0800 Commit: Michael Niedermayer <[email protected]> CommitDate: Sat Sep 19 17:00:37 2026 +0200 avformat/hlsenc: fix compile error when mp4 is disabled Regression since dc4c7989704a204dc81eb381261dd5be59930cdb Handle the case where mp4 is disabled since mp4 as an optional dependency of hls_muxer. Signed-off-by: Jack Lau <[email protected]> (cherry picked from commit 0510aff11bebd2659ee514fefa5e017559217ba3) --- libavformat/hlsenc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 3b4f0f2db5..68893ce53c 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -2990,8 +2990,12 @@ static int hls_init(AVFormatContext *s) if (vs->has_video > 1) av_log(s, AV_LOG_WARNING, "More than a single video stream present, expect issues decoding it.\n"); if (hls->segment_type == SEGMENT_TYPE_FMP4) { +#if CONFIG_MP4_MUXER EXTERN const FFOutputFormat ff_mp4_muxer; vs->oformat = &ff_mp4_muxer.p; +#else + return AVERROR_MUXER_NOT_FOUND; +#endif } else { EXTERN const FFOutputFormat ff_mpegts_muxer; vs->oformat = &ff_mpegts_muxer.p; -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
