Commit eae85ee7 authored by Erik de Castro Lopo's avatar Erik de Castro Lopo
Browse files

libFLAC/stream_decoder.c: Fix compiling with integer only



Was failing to compile on IA32 with FLAC__INTEGER_ONLY_LIBRARY
defined.
Reported-by: default avatar"Joakim Landberg" <joakim.landberg@intel.com>
parent 61607377
...@@ -405,7 +405,7 @@ static FLAC__StreamDecoderInitStatus init_stream_internal_( ...@@ -405,7 +405,7 @@ static FLAC__StreamDecoderInitStatus init_stream_internal_(
decoder->private_->local_lpc_restore_signal_16bit = FLAC__lpc_restore_signal_asm_ia32; decoder->private_->local_lpc_restore_signal_16bit = FLAC__lpc_restore_signal_asm_ia32;
} }
#endif #endif
#ifdef FLAC__HAS_X86INTRIN #if defined FLAC__HAS_X86INTRIN && ! defined FLAC__INTEGER_ONLY_LIBRARY
# if defined FLAC__SSE2_SUPPORTED && !defined FLAC__HAS_NASM /* OPT_SSE: not better than MMX asm */ # if defined FLAC__SSE2_SUPPORTED && !defined FLAC__HAS_NASM /* OPT_SSE: not better than MMX asm */
if(decoder->private_->cpuinfo.ia32.sse2) { if(decoder->private_->cpuinfo.ia32.sse2) {
decoder->private_->local_lpc_restore_signal_16bit = FLAC__lpc_restore_signal_16_intrin_sse2; decoder->private_->local_lpc_restore_signal_16bit = FLAC__lpc_restore_signal_16_intrin_sse2;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment