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

stream_encoder.c : ifdef cleanup.

Patch-from: lvqcl <lvqcl.mail@gmail.com>
parent b334fb2a
......@@ -968,22 +968,22 @@ static FLAC__StreamEncoderInitStatus init_stream_internal_(
#if !defined FLAC__NO_ASM && defined FLAC__HAS_X86INTRIN
if(encoder->private_->cpuinfo.use_asm) {
# if defined FLAC__CPU_IA32
# ifdef FLAC__SSSE3_SUPPORTED
# ifdef FLAC__SSE2_SUPPORTED
# ifdef FLAC__SSSE3_SUPPORTED
if(encoder->private_->cpuinfo.ia32.ssse3)
encoder->private_->local_precompute_partition_info_sums = FLAC__precompute_partition_info_sums_intrin_ssse3;
else
# endif
# ifdef FLAC__SSE2_SUPPORTED
# endif
if(encoder->private_->cpuinfo.ia32.sse2)
encoder->private_->local_precompute_partition_info_sums = FLAC__precompute_partition_info_sums_intrin_sse2;
# endif
# elif defined FLAC__CPU_X86_64
# ifdef FLAC__SSSE3_SUPPORTED
# ifdef FLAC__SSE2_SUPPORTED
# ifdef FLAC__SSSE3_SUPPORTED
if(encoder->private_->cpuinfo.x86_64.ssse3)
encoder->private_->local_precompute_partition_info_sums = FLAC__precompute_partition_info_sums_intrin_ssse3;
else
# endif
# ifdef FLAC__SSE2_SUPPORTED
# endif
encoder->private_->local_precompute_partition_info_sums = FLAC__precompute_partition_info_sums_intrin_sse2;
# endif
# endif /* FLAC__CPU_... */
......
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