Update baf.c

Added a two liner in the vein of cca30df28d to fix compiling on Linux.
This commit is contained in:
niemand-deu 2019-02-23 07:16:35 +01:00 committed by GitHub
parent ae0f1b6175
commit 0e645a4fd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,6 +159,7 @@ VGMSTREAM * init_vgmstream_baf(STREAMFILE *streamFile) {
vgmstream->loop_end_sample = vgmstream->num_samples; vgmstream->loop_end_sample = vgmstream->num_samples;
break; break;
#ifdef VGM_USE_FFMPEG
case 0x08: { case 0x08: {
uint8_t buf[0x100]; uint8_t buf[0x100];
int bytes; 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); xma_fix_raw_samples_ch(vgmstream, streamFile, start_offset, stream_size, channel_count, 1,1);
break; break;
} }
#endif
default: default:
VGM_LOG("BAF: unknown codec %x\n", codec); VGM_LOG("BAF: unknown codec %x\n", codec);