Commit de323c9557 for ffmpeg
commit de323c95576f753585adf85f0feb6baa13153a04
Author: Romain Beauxis <romain.beauxis@gmail.com>
Date: Fri Nov 27 08:06:17 2026 -0600
avcodec/dca: move the PCM block length to dca.h
The length of a core frame is its number of PCM blocks times the block
length. Make it available with the core frame header, outside the
decoder.
diff --git a/libavcodec/dca.h b/libavcodec/dca.h
index 6be975fdfa..31dc2c075c 100644
--- a/libavcodec/dca.h
+++ b/libavcodec/dca.h
@@ -34,6 +34,7 @@
#include "get_bits.h"
#define DCA_CORE_FRAME_HEADER_SIZE 18
+#define DCA_PCMBLOCK_SAMPLES 32
enum DCAParseError {
DCA_PARSE_ERROR_SYNC_WORD = -1,
diff --git a/libavcodec/dca_core.h b/libavcodec/dca_core.h
index 347566d6ed..c0e2ab4095 100644
--- a/libavcodec/dca_core.h
+++ b/libavcodec/dca_core.h
@@ -41,7 +41,6 @@
#define DCA_SUBBANDS_X96 64
#define DCA_SUBFRAMES 16
#define DCA_SUBBAND_SAMPLES 8
-#define DCA_PCMBLOCK_SAMPLES 32
#define DCA_LFE_HISTORY 8
#define DCA_ABITS_MAX 26