[FFmpeg-cvslog] avcodec/ffv1enc: mark RGB48 support as non-experimental

Jérôme Martinez git at videolan.org
Fri Jan 12 13:54:14 EET 2018


ffmpeg | branch: master | Jérôme Martinez <jerome at mediaarea.net> | Fri Jan  5 11:09:01 2018 +0100| [58e16a4f4b70b00e1ae14c8a52aea49000fa34a3] | committer: Michael Niedermayer

avcodec/ffv1enc: mark RGB48 support as non-experimental

Resulting bitstream was tested with a conformance checker
using the last draft of FFV1 specifications.

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

Also the files are already in the wild, and decoder support is
thus needed. And with decoders widely supporting it, there is no
advantage in not allowing it in the encoder.
The exact bitstream format may change in future versions of the
spec, if improvments are found.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=58e16a4f4b70b00e1ae14c8a52aea49000fa34a3
---

 libavcodec/ffv1enc.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c
index 09df4c0c57..c0c1558ffe 100644
--- a/libavcodec/ffv1enc.c
+++ b/libavcodec/ffv1enc.c
@@ -630,10 +630,6 @@ FF_ENABLE_DEPRECATION_WARNINGS
         s->bits_per_raw_sample = 16;
         s->use32bit = 1;
         s->version = FFMAX(s->version, 1);
-        if (avctx->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) {
-            av_log(avctx, AV_LOG_ERROR, "16bit RGB is experimental and under development, only use it for experiments\n");
-            return AVERROR_INVALIDDATA;
-        }
         break;
     case AV_PIX_FMT_0RGB32:
         s->colorspace = 1;



More information about the ffmpeg-cvslog mailing list