mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-29 19:37:30 +01:00
Fix FSB with CELT disabled
This commit is contained in:
parent
c1e7e3b1f9
commit
fa848c2ccd
@ -103,7 +103,9 @@ typedef struct {
|
||||
|
||||
/* ********************************************************************************** */
|
||||
|
||||
#ifdef VGM_USE_CELT
|
||||
static layered_layout_data* build_layered_fsb_celt(STREAMFILE *streamFile, fsb_header* fsb, celt_lib_t version);
|
||||
#endif
|
||||
|
||||
/* FSB1~4 - from games using FMOD audio middleware */
|
||||
VGMSTREAM * init_vgmstream_fsb(STREAMFILE *streamFile) {
|
||||
@ -452,6 +454,7 @@ fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#ifdef VGM_USE_CELT
|
||||
static layered_layout_data* build_layered_fsb_celt(STREAMFILE *streamFile, fsb_header* fsb, celt_lib_t version) {
|
||||
layered_layout_data* data = NULL;
|
||||
STREAMFILE* temp_streamFile = NULL;
|
||||
@ -504,6 +507,7 @@ fail:
|
||||
free_layout_layered(data);
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* ****************************************** */
|
||||
|
||||
|
@ -33,7 +33,9 @@ typedef struct {
|
||||
|
||||
/* ********************************************************************************** */
|
||||
|
||||
#ifdef VGM_USE_CELT
|
||||
static layered_layout_data* build_layered_fsb5_celt(STREAMFILE *streamFile, fsb5_header* fsb5, celt_lib_t version);
|
||||
#endif
|
||||
static layered_layout_data* build_layered_fsb5_atrac9(STREAMFILE *streamFile, fsb5_header* fsb5, off_t configs_offset, size_t configs_size);
|
||||
|
||||
/* FSB5 - FMOD Studio multiplatform format */
|
||||
@ -454,6 +456,7 @@ fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#ifdef VGM_USE_CELT
|
||||
static layered_layout_data* build_layered_fsb5_celt(STREAMFILE *streamFile, fsb5_header* fsb5, celt_lib_t version) {
|
||||
layered_layout_data* data = NULL;
|
||||
STREAMFILE* temp_streamFile = NULL;
|
||||
@ -517,6 +520,7 @@ fail:
|
||||
free_layout_layered(data);
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
static layered_layout_data* build_layered_fsb5_atrac9(STREAMFILE *streamFile, fsb5_header* fsb5, off_t configs_offset, size_t configs_size) {
|
||||
layered_layout_data* data = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user