diff options
Diffstat (limited to 'apps/codecs/libFLAC/stream_decoder.c')
-rw-r--r-- | apps/codecs/libFLAC/stream_decoder.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/codecs/libFLAC/stream_decoder.c b/apps/codecs/libFLAC/stream_decoder.c index ec43314fe9..eb78d18be0 100644 --- a/apps/codecs/libFLAC/stream_decoder.c +++ b/apps/codecs/libFLAC/stream_decoder.c | |||
@@ -43,6 +43,10 @@ | |||
43 | #include "private/lpc.h" | 43 | #include "private/lpc.h" |
44 | #include "private/memory.h" | 44 | #include "private/memory.h" |
45 | 45 | ||
46 | #if CONFIG_CPU==MCF5249 | ||
47 | #include <private/coldfire.h> | ||
48 | #endif | ||
49 | |||
46 | #ifdef HAVE_CONFIG_H | 50 | #ifdef HAVE_CONFIG_H |
47 | #include <config.h> | 51 | #include <config.h> |
48 | #endif | 52 | #endif |
@@ -298,7 +302,11 @@ FLAC_API FLAC__StreamDecoderState FLAC__stream_decoder_init(FLAC__StreamDecoder | |||
298 | decoder->private_->local_lpc_restore_signal = FLAC__lpc_restore_signal; | 302 | decoder->private_->local_lpc_restore_signal = FLAC__lpc_restore_signal; |
299 | decoder->private_->local_lpc_restore_signal_64bit = FLAC__lpc_restore_signal_wide; | 303 | decoder->private_->local_lpc_restore_signal_64bit = FLAC__lpc_restore_signal_wide; |
300 | decoder->private_->local_lpc_restore_signal_16bit = FLAC__lpc_restore_signal; | 304 | decoder->private_->local_lpc_restore_signal_16bit = FLAC__lpc_restore_signal; |
305 | #if CONFIG_CPU==MCF5249 && !SIMULATOR | ||
306 | decoder->private_->local_lpc_restore_signal_16bit_order8 = FLAC__lpc_restore_signal_order8_mac; | ||
307 | #else | ||
301 | decoder->private_->local_lpc_restore_signal_16bit_order8 = FLAC__lpc_restore_signal; | 308 | decoder->private_->local_lpc_restore_signal_16bit_order8 = FLAC__lpc_restore_signal; |
309 | #endif | ||
302 | /* now override with asm where appropriate */ | 310 | /* now override with asm where appropriate */ |
303 | #ifndef FLAC__NO_ASM | 311 | #ifndef FLAC__NO_ASM |
304 | if(decoder->private_->cpuinfo.use_asm) { | 312 | if(decoder->private_->cpuinfo.use_asm) { |