diff options
author | Lynne <dev@lynne.ee> | 2019-03-16 17:28:52 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2019-03-31 23:36:43 +0200 |
commit | 5468c1d075166fa1a8fea217b07e30abc6bdc4b1 (patch) | |
tree | 10fd590d6cb2f9a3e13da66d10df0b93753fd13e /libavcodec/opus_pvq.c | |
parent | 4a2c65162029755a4717528014a456a400590e36 (diff) | |
download | ffmpeg-5468c1d075166fa1a8fea217b07e30abc6bdc4b1.tar.gz |
celt_pvq_init: only build when CONFIG_OPUS_ENCODER is enabled
The entire function was defined away before.
Diffstat (limited to 'libavcodec/opus_pvq.c')
-rw-r--r-- | libavcodec/opus_pvq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/opus_pvq.c b/libavcodec/opus_pvq.c index c3119a03f1..9c21d67298 100644 --- a/libavcodec/opus_pvq.c +++ b/libavcodec/opus_pvq.c @@ -903,7 +903,7 @@ int av_cold ff_celt_pvq_init(CeltPVQ **pvq, int encode) s->pvq_search = ppp_pvq_search_c; s->quant_band = encode ? pvq_encode_band : pvq_decode_band; - if (ARCH_X86) + if (CONFIG_OPUS_ENCODER && ARCH_X86) ff_celt_pvq_init_x86(s); *pvq = s; |