summaryrefslogtreecommitdiff
path: root/libavcodec/mips/aacdec_mips.c
diff options
context:
space:
mode:
authorShiyou Yin <yinshiyou-hf@loongson.cn>2020-07-29 18:10:58 +0800
committerMichael Niedermayer <michael@niedermayer.cc>2020-07-30 00:23:45 +0200
commit44699db6db32e7077d6fc5a1cf0c81463ee5d791 (patch)
tree99fcf048c056828f4edfd5cfa8bc5b08b5b8b3ed /libavcodec/mips/aacdec_mips.c
parentb2318c1e537f15c4c23f302a5193d6218dffdde8 (diff)
avcodec/mips: Fix register constraint error reported by clang.
Clang report following error in aacsbr_mips.c,ac3dsp_mips.c and aacdec_mips.c: "couldn't allocate output register for constraint 'r'" Use 'f' constraint for float variable. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/mips/aacdec_mips.c')
-rw-r--r--libavcodec/mips/aacdec_mips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mips/aacdec_mips.c b/libavcodec/mips/aacdec_mips.c
index 8e30652935..7f2478957f 100644
--- a/libavcodec/mips/aacdec_mips.c
+++ b/libavcodec/mips/aacdec_mips.c
@@ -340,7 +340,7 @@ static void update_ltp_mips(AACContext *ac, SingleChannelElement *sce)
float *saved_ltp = sce->coeffs;
const float *lwindow = ics->use_kb_window[0] ? ff_aac_kbd_long_1024 : ff_sine_1024;
const float *swindow = ics->use_kb_window[0] ? ff_aac_kbd_short_128 : ff_sine_128;
- float temp0, temp1, temp2, temp3, temp4, temp5, temp6, temp7;
+ uint32_t temp0, temp1, temp2, temp3, temp4, temp5, temp6, temp7;
if (ics->window_sequence[0] == EIGHT_SHORT_SEQUENCE) {
float *p_saved_ltp = saved_ltp + 576;