diff options
Diffstat (limited to 'apps/codecs/libffmpegFLAC/decoder.c')
-rw-r--r-- | apps/codecs/libffmpegFLAC/decoder.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/codecs/libffmpegFLAC/decoder.c b/apps/codecs/libffmpegFLAC/decoder.c index e5c4b426d5..ed175548f2 100644 --- a/apps/codecs/libffmpegFLAC/decoder.c +++ b/apps/codecs/libffmpegFLAC/decoder.c | |||
@@ -44,6 +44,8 @@ | |||
44 | 44 | ||
45 | #if defined(CPU_COLDFIRE) | 45 | #if defined(CPU_COLDFIRE) |
46 | #include "coldfire.h" | 46 | #include "coldfire.h" |
47 | #elif defined(CPU_ARM) | ||
48 | #include "arm.h" | ||
47 | #endif | 49 | #endif |
48 | 50 | ||
49 | #define FFMAX(a,b) ((a) > (b) ? (a) : (b)) | 51 | #define FFMAX(a,b) ((a) > (b) ? (a) : (b)) |
@@ -262,6 +264,10 @@ static int decode_subframe_lpc(FLACContext *s, int32_t* decoded, int pred_order) | |||
262 | (void)sum; | 264 | (void)sum; |
263 | lpc_decode_emac(s->blocksize - pred_order, qlevel, pred_order, | 265 | lpc_decode_emac(s->blocksize - pred_order, qlevel, pred_order, |
264 | decoded + pred_order, coeffs); | 266 | decoded + pred_order, coeffs); |
267 | #elif defined(CPU_ARM) | ||
268 | (void)sum; | ||
269 | lpc_decode_arm(s->blocksize - pred_order, qlevel, pred_order, | ||
270 | decoded + pred_order, coeffs); | ||
265 | #else | 271 | #else |
266 | for (i = pred_order; i < s->blocksize; i++) | 272 | for (i = pred_order; i < s->blocksize; i++) |
267 | { | 273 | { |