Signed-off-by: Jack Lau <[email protected]>
---
libavformat/whip.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/libavformat/whip.c b/libavformat/whip.c
index 0671e23635..e7cd57400d 100644
--- a/libavformat/whip.c
+++ b/libavformat/whip.c
@@ -1733,6 +1733,12 @@ static av_cold int whip_init(AVFormatContext *s)
int ret;
WHIPContext *whip = s->priv_data;
+ if (s->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) {
+ av_log(s, AV_LOG_ERROR,
+ "WHIP: This muxer is experimental, please set -strict experimental
in order to enable it\n");
+ return AVERROR_EXPERIMENTAL;
+ }
+
if ((ret = initialize(s)) < 0)
goto end;
--
2.49.0
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".