avformat/movenc: remove experimental checks for AV1 streams
authorJames Almer <jamrial@gmail.com>
Sun, 9 Sep 2018 20:26:09 +0000 (17:26 -0300)
committerJames Almer <jamrial@gmail.com>
Sun, 9 Sep 2018 20:26:09 +0000 (17:26 -0300)
The spec has been finalized.

Signed-off-by: James Almer <jamrial@gmail.com>
Changelog
libavformat/movenc.c

index a49dbf70c48ee4aaf3a75dd217d1d2cacaa82047..01d974ed0f34dd1d8c23a6d654fa2aa5f9caf9d1 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -24,6 +24,7 @@ version <next>:
 - 1D LUT filter (lut1d)
 - RemotelyAnywhere Screen Capture decoder
 - cue and acue filters
+- support for AV1 in MP4
 
 
 version 4.0:
index 3ebc7abd8bca18901b62e5860b1fbf55ef5ed9c0..6b9c012bc6608e05bcc8b27f987b25f84b1885bc 100644 (file)
@@ -6255,14 +6255,6 @@ static int mov_init(AVFormatContext *s)
                     av_log(s, AV_LOG_ERROR, "%s only supported in MP4.\n", avcodec_get_name(track->par->codec_id));
                     return AVERROR(EINVAL);
                 }
-                if (track->par->codec_id == AV_CODEC_ID_AV1 &&
-                    s->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) {
-                    av_log(s, AV_LOG_ERROR,
-                           "av1 in MP4 support is experimental, add "
-                           "'-strict %d' if you want to use it.\n",
-                           FF_COMPLIANCE_EXPERIMENTAL);
-                    return AVERROR_EXPERIMENTAL;
-                }
             } else if (track->par->codec_id == AV_CODEC_ID_VP8) {
                 /* altref frames handling is not defined in the spec as of version v1.0,
                  * so just forbid muxing VP8 streams altogether until a new version does */