From 6070ea29de62810cd79d2e11bb076eae5d495ad5 Mon Sep 17 00:00:00 2001 From: Gyan Doshi Date: Wed, 17 Dec 2025 22:54:36 +0530 Subject: [PATCH] lavf/whip: add flag for default codecs only The muxer does not accept any other codecs. --- libavformat/whip.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/whip.c b/libavformat/whip.c index 6a9b208f69..15b87ada4e 100644 --- a/libavformat/whip.c +++ b/libavformat/whip.c @@ -2055,6 +2055,7 @@ const FFOutputFormat ff_whip_muxer = { .p.video_codec = AV_CODEC_ID_H264, .p.flags = AVFMT_GLOBALHEADER | AVFMT_NOFILE | AVFMT_EXPERIMENTAL, .p.priv_class = &whip_muxer_class, + .flags_internal = FF_OFMT_FLAG_ONLY_DEFAULT_CODECS, .priv_data_size = sizeof(WHIPContext), .init = whip_init, .write_packet = whip_write_packet,