From ea970334835b3570c29181c3e2547ea407fb335d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=87=91=E4=B8=9C=E5=8B=8B=20=7C=20=E9=87=91=E6=9D=B1?= =?UTF-8?q?=E5=8B=B3=20=7C=20=EA=B9=80=EB=8F=99=ED=9B=88=20=7C=20Jin=20Don?= =?UTF-8?q?gxun?= Date: Tue, 10 Nov 2026 16:31:24 +0800 Subject: [PATCH] Accept the automatic FLAC block size in validation --- flac_codec_registration.src.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flac_codec_registration.src.html b/flac_codec_registration.src.html index eb2c3176..4e38fafd 100644 --- a/flac_codec_registration.src.html +++ b/flac_codec_registration.src.html @@ -112,8 +112,8 @@ To check if an {{FlacEncoderConfig}} is valid, run these steps: -1. If {{FlacEncoderConfig/blockSize}} is not a valid block size, - which is described section 5.1 of [[FLAC]], return `false`. +1. If {{FlacEncoderConfig/blockSize}} is not `0` and is not a valid block size + as described in section 5.1 of [[FLAC]], return `false`. 1. If {{FlacEncoderConfig/compressLevel}} is specified and not within the range of `0` (fastest, least compression) and `8` (slowest, most compression) inclusively, return `false`. 2. Return `true`.