This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit fdce17953c72c52b5f5015dd40eea966d532f85b
Author:     Gyan Doshi <[email protected]>
AuthorDate: Wed Dec 17 22:52:11 2025 +0530
Commit:     Gyan Doshi <[email protected]>
CommitDate: Fri Dec 19 04:13:34 2025 +0000

    lavf/supenc: add flag for default codecs only
    
    The muxer does not accept any other codecs.
---
 libavformat/supenc.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavformat/supenc.c b/libavformat/supenc.c
index c664723bc4..04a21a9e65 100644
--- a/libavformat/supenc.c
+++ b/libavformat/supenc.c
@@ -88,7 +88,8 @@ const FFOutputFormat ff_sup_muxer = {
     .p.audio_codec    = AV_CODEC_ID_NONE,
     .p.subtitle_codec = AV_CODEC_ID_HDMV_PGS_SUBTITLE,
     .p.flags          = AVFMT_VARIABLE_FPS | AVFMT_TS_NONSTRICT,
-    .flags_internal   = FF_OFMT_FLAG_MAX_ONE_OF_EACH,
+    .flags_internal   = FF_OFMT_FLAG_MAX_ONE_OF_EACH |
+                        FF_OFMT_FLAG_ONLY_DEFAULT_CODECS,
     .init             = sup_init,
     .write_packet   = sup_write_packet,
 };

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to