codecs: fix compile error on ARM Cortex-M DEBUG app builds

Some of the inline assembly generates "impossible constraint"
errors in this function, but only when DEBUG is enabled.

Change-Id: I3b1135a8a55436bd3068ef560ebcef64a5184a05
This commit is contained in:
Aidan MacDonald 2026-01-04 03:03:22 +00:00 committed by Solomon Peachy
parent e6e56ceb51
commit 1f39ae52e3

View file

@ -460,7 +460,7 @@ void ff_imdct_half(unsigned int nbits, fixed32 *output, const fixed32 *input)
* and output of imdct_half would then overlap somewhat)
*/
void ff_imdct_calc(unsigned int nbits, fixed32 *output, const fixed32 *input) ICODE_ATTR_TREMOR_MDCT;
#ifndef CPU_ARM
#if !defined(CPU_ARM) || defined(DEBUG)
void ff_imdct_calc(unsigned int nbits, fixed32 *output, const fixed32 *input)
{
const int n = (1<<nbits);