From be8357926d43366e0a06ccf67ed2fa79f612cad0 Mon Sep 17 00:00:00 2001 From: bnnm Date: Sun, 24 Sep 2017 18:45:39 +0200 Subject: [PATCH] Fix compiling with codecs disabled --- src/coding/pcm_decoder.c | 1 + src/meta/meta.h | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/coding/pcm_decoder.c b/src/coding/pcm_decoder.c index ea350ae3..47c69cd0 100644 --- a/src/coding/pcm_decoder.c +++ b/src/coding/pcm_decoder.c @@ -1,5 +1,6 @@ #include "coding.h" #include "../util.h" +#include void decode_pcm16LE(VGMSTREAMCHANNEL * stream, sample * outbuf, int channelspacing, int32_t first_sample, int32_t samples_to_do) { int i; diff --git a/src/meta/meta.h b/src/meta/meta.h index f920bb11..fbbb0699 100644 --- a/src/meta/meta.h +++ b/src/meta/meta.h @@ -144,9 +144,7 @@ VGMSTREAM * init_vgmstream_str_snds(STREAMFILE * streamFile); VGMSTREAM * init_vgmstream_ws_aud(STREAMFILE * streamFile); -#ifdef VGM_USE_MPEG VGMSTREAM * init_vgmstream_ahx(STREAMFILE * streamFile); -#endif VGMSTREAM * init_vgmstream_ivb(STREAMFILE * streamFile); @@ -630,9 +628,7 @@ VGMSTREAM * init_vgmstream_ps2_svag_snk(STREAMFILE* streamFile); VGMSTREAM * init_vgmstream_xma(STREAMFILE* streamFile); -#ifdef VGM_USE_FFMPEG VGMSTREAM * init_vgmstream_bik(STREAMFILE* streamFile); -#endif VGMSTREAM * init_vgmstream_ps2_vds_vdm(STREAMFILE* streamFile);