Commit 23f6a359 authored by Erik de Castro Lopo's avatar Erik de Castro Lopo

Fix compiler warning from gcc-6.1.1

parent a52177b0
......@@ -1408,9 +1408,10 @@ void error_callback(const FLAC__StreamDecoder *decoder, FLAC__StreamDecoderError
{
DecoderSession *decoder_session = (DecoderSession*)client_data;
(void)decoder;
if(!decoder_session->error_callback_suppress_messages)
if(!decoder_session->error_callback_suppress_messages) {
stats_print_name(1, decoder_session->inbasefilename);
flac__utils_printf(stderr, 1, "*** Got error code %d:%s\n", status, FLAC__StreamDecoderErrorStatusString[status]);
}
if(!decoder_session->continue_through_decode_errors) {
/* if we got a sync error while looking for metadata, either it's not a FLAC file (more likely) or the file is corrupted */
if(
......
......@@ -74,11 +74,13 @@
/* these are flags in EDX of CPUID AX=00000001 */
#if defined FLAC__CPU_IA32
static const unsigned FLAC__CPUINFO_IA32_CPUID_CMOV = 0x00008000;
static const unsigned FLAC__CPUINFO_IA32_CPUID_MMX = 0x00800000;
static const unsigned FLAC__CPUINFO_IA32_CPUID_FXSR = 0x01000000;
static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE = 0x02000000;
static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE2 = 0x04000000;
#endif
/* these are flags in ECX of CPUID AX=00000001 */
static const unsigned FLAC__CPUINFO_IA32_CPUID_SSE3 = 0x00000001;
......
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