diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-01-02 18:38:02 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-01-03 20:38:35 +0100 |
commit | be97d2a825a12c9c01a61b985d44eb7424628fd6 (patch) | |
tree | 5863057991dd19935e8f27f3a719972d24fc3a99 /libavformat/format.c | |
parent | 5e2a1f1e7db630d547e89988414499ea788bd68e (diff) |
lavf: add a flag for experimental (de)muxers
Diffstat (limited to 'libavformat/format.c')
-rw-r--r-- | libavformat/format.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/format.c b/libavformat/format.c index 387627009e..52b85c16a2 100644 --- a/libavformat/format.c +++ b/libavformat/format.c @@ -158,6 +158,8 @@ const AVInputFormat *av_probe_input_format3(const AVProbeData *pd, } while ((fmt1 = av_demuxer_iterate(&i))) { + if (fmt1->flags & AVFMT_EXPERIMENTAL) + continue; if (!is_opened == !(fmt1->flags & AVFMT_NOFILE) && strcmp(fmt1->name, "image2")) continue; score = 0; |