From 101365e0cc84687329349b13ab258d04a8479063 Mon Sep 17 00:00:00 2001
From: Jerome Martinez <jerome@mediaarea.net>
Date: Wed, 4 Jan 2023 14:32:46 +0100
Subject: [PATCH 2/5] libavcodec/flacenc: force 32-bit output for 32-bit input
 (no downscale)

Remove the need of -strict experimental for having a 32-bit output
---
 libavcodec/flacenc.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c
index 3a9578f5cd..4bf92dbf68 100644
--- a/libavcodec/flacenc.c
+++ b/libavcodec/flacenc.c
@@ -288,13 +288,6 @@ static av_cold int flac_encode_init(AVCodecContext *avctx)
                 av_log(avctx, AV_LOG_WARNING, "encoding as 24 bits-per-sample\n");
             avctx->bits_per_raw_sample = 24;
             s->bps_code                = 6;
-        } else if (avctx->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) {
-            av_log(avctx, AV_LOG_WARNING,
-                   "encoding as 24 bits-per-sample, more is considered "
-                   "experimental. Add -strict experimental if you want "
-                   "to encode more than 24 bits-per-sample\n");
-            avctx->bits_per_raw_sample = 24;
-            s->bps_code                = 6;
         } else {
             avctx->bits_per_raw_sample = 32;
             s->bps_code = 7;
-- 
2.13.3.windows.1

