mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-02-07 07:01:16 +01:00
Update baf.c
Added a two liner in the vein of cca30df28d
to fix compiling on Linux.
This commit is contained in:
parent
ae0f1b6175
commit
0e645a4fd9
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user