summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio.c b/src/audio.c
index 9e44d709..95e59931 100644
--- a/src/audio.c
+++ b/src/audio.c
@@ -2402,7 +2402,7 @@ static Wave LoadMP3(const char *fileName)
// Decode an entire MP3 file in one go
uint64_t totalSampleCount;
- drmp3_config *config;
+ drmp3_config *config = NULL;
wave.data = drmp3_open_and_decode_file_f32(fileName, config, &totalSampleCount);
wave.channels = config->outputChannels;