From 0e645a4fd98f63817e16bf8abc6d6c8550997442 Mon Sep 17 00:00:00 2001 From: niemand-deu <42780488+niemand-deu@users.noreply.github.com> Date: Sat, 23 Feb 2019 07:16:35 +0100 Subject: [PATCH] Update baf.c Added a two liner in the vein of https://github.com/losnoco/vgmstream/commit/cca30df28dedea1a6c8c215d50c454d95af69738 to fix compiling on Linux. --- src/meta/baf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/meta/baf.c b/src/meta/baf.c index 02c70714..448d5772 100644 --- a/src/meta/baf.c +++ b/src/meta/baf.c @@ -159,6 +159,7 @@ VGMSTREAM * init_vgmstream_baf(STREAMFILE *streamFile) { vgmstream->loop_end_sample = vgmstream->num_samples; break; + #ifdef VGM_USE_FFMPEG case 0x08: { uint8_t buf[0x100]; int bytes; @@ -192,6 +193,7 @@ VGMSTREAM * init_vgmstream_baf(STREAMFILE *streamFile) { xma_fix_raw_samples_ch(vgmstream, streamFile, start_offset, stream_size, channel_count, 1,1); break; } + #endif default: VGM_LOG("BAF: unknown codec %x\n", codec);