Small tweak to avoid warning
This commit is contained in:
parent
a511337ce8
commit
f238b9ea3c
1 changed files with 1 additions and 1 deletions
|
@ -2402,7 +2402,7 @@ static Wave LoadMP3(const char *fileName)
|
||||||
|
|
||||||
// Decode an entire MP3 file in one go
|
// Decode an entire MP3 file in one go
|
||||||
uint64_t totalSampleCount;
|
uint64_t totalSampleCount;
|
||||||
drmp3_config *config;
|
drmp3_config *config = NULL;
|
||||||
wave.data = drmp3_open_and_decode_file_f32(fileName, config, &totalSampleCount);
|
wave.data = drmp3_open_and_decode_file_f32(fileName, config, &totalSampleCount);
|
||||||
|
|
||||||
wave.channels = config->outputChannels;
|
wave.channels = config->outputChannels;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue