Browse Source

Fix Dead initialization

[email protected] 7 years ago
parent
commit
03ca9508bf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/audio.c

+ 1 - 1
src/audio.c

@@ -1553,7 +1553,7 @@ void UpdateMusicStream(Music music)
             case MUSIC_AUDIO_OGG:
             case MUSIC_AUDIO_OGG:
             {
             {
                 // NOTE: Returns the number of samples to process (be careful! we ask for number of shorts!)
                 // NOTE: Returns the number of samples to process (be careful! we ask for number of shorts!)
-                int numSamplesOgg = stb_vorbis_get_samples_short_interleaved(music->ctxOgg, music->stream.channels, (short *)pcm, samplesCount*music->stream.channels);
+                stb_vorbis_get_samples_short_interleaved(music->ctxOgg, music->stream.channels, (short *)pcm, samplesCount*music->stream.channels);
 
 
             } break;
             } break;
         #if defined(SUPPORT_FILEFORMAT_FLAC)
         #if defined(SUPPORT_FILEFORMAT_FLAC)