aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2014-02-08 12:06:49 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2014-02-08 12:06:49 +0100
commit4bcc6febcff23b4db2c135d937c6b6830657f0eb (patch)
tree25769bed2c774d8fd611ea37b267eba469b19a14
parentbbc3425fa25ef0ff830f6bb4a290d32ee7ad79f4 (diff)
downloadffmpeg-4bcc6febcff23b4db2c135d937c6b6830657f0eb.tar.gz
Fix compilation with --disable-everything --enable-encoder=flac.
-rw-r--r--libavcodec/flacdsp.c2
1 files changed, 1 insertions, 1 deletions
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);
}