[FFmpeg-devel] [PATCH] FFV1: make RGB48 support as non-experimental

Jerome Martinez jerome at mediaarea.net
Fri Jan 5 23:26:42 EET 2018


On 05/01/2018 16:14, Tobias Rapp wrote:
> On 05.01.2018 11:18, Jerome Martinez wrote:
>> 0001-FFV1-make-RGB48-support-as-non-experimental.patch
>>
>> From cd1bfe68a1a809700f25e593ac21ca3876d265ad Mon Sep 17 00:00:00 2001
>> From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Martinez?= <jerome at mediaarea.net>
>> Date: Fri, 5 Jan 2018 11:09:01 +0100
>> Subject: [PATCH] FFV1: make RGB48 support as non-experimental
>
> make => mark

I reused a commit text from history, both words words were in it.
Anyway, attached is the updated .patch with the suggested subject line.

>
> BTW: common subject line format would be something like 
> "avcodec/ffv1enc: mark RGB48 support as non-experimental" 

-------------- next part --------------
From 303f63fb7e6172fdb7de66da1f8a4006b79a535f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Martinez?= <jerome at mediaarea.net>
Date: Fri, 5 Jan 2018 11:09:01 +0100
Subject: [PATCH] avcodec/ffv1enc: mark RGB48 support as non-experimental

Resulting bitstream was tested with a conformance checker
using the last draft of FFV1 specifications.
---
 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;
-- 
2.13.3.windows.1



More information about the ffmpeg-devel mailing list