summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <[email protected]>2025-04-27 20:11:50 +0200
committerAndreas Rheinhardt <[email protected]>2025-04-27 22:59:40 +0200
commit7fd796c600bca66ec16306b1bfb028a9d4819e3e (patch)
tree9d6a766a0733b776af5266c6224133411c815ea6
parent8ea11dcd846f862e066d3ce6fe56d5f39d94c91f (diff)
avformat/apvenc: Only allow APV
Reviewed-by: Mark Thompson <[email protected]> Signed-off-by: Andreas Rheinhardt <[email protected]>
-rw-r--r--libavformat/apvenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/apvenc.c b/libavformat/apvenc.c
index 9c4d33fdae..c7827cd5b5 100644
--- a/libavformat/apvenc.c
+++ b/libavformat/apvenc.c
@@ -35,6 +35,6 @@ const FFOutputFormat ff_apv_muxer = {
.p.audio_codec = AV_CODEC_ID_NONE,
.p.video_codec = AV_CODEC_ID_APV,
.p.subtitle_codec = AV_CODEC_ID_NONE,
- .flags_internal = FF_OFMT_FLAG_MAX_ONE_OF_EACH,
+ .flags_internal = FF_OFMT_FLAG_MAX_ONE_OF_EACH | FF_OFMT_FLAG_ONLY_DEFAULT_CODECS,
.write_packet = apv_write_packet,
};