From 4bcc6febcff23b4db2c135d937c6b6830657f0eb Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sat, 8 Feb 2014 12:06:49 +0100 Subject: [PATCH] Fix compilation with --disable-everything --enable-encoder=flac. --- libavcodec/flacdsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/flacdsp.c b/libavcodec/flacdsp.c index b15bc7476b..89cf09a210 100644 --- a/libavcodec/flacdsp.c +++ b/libavcodec/flacdsp.c @@ -128,6 +128,6 @@ av_cold void ff_flacdsp_init(FLACDSPContext *c, enum AVSampleFormat fmt, if (ARCH_ARM) ff_flacdsp_init_arm(c, fmt, bps); - if (ARCH_X86) + if (ARCH_X86 && CONFIG_FLAC_DECODER) ff_flacdsp_init_x86(c, fmt, bps); }