Merge pull request #364 from niemand-deu/patch-2

Fix for VGM_USE_FFMPEG
This commit is contained in:
Christopher Snowhill 2019-02-23 15:53:31 -08:00 committed by GitHub
commit c8e7e26882
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;
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);