summaryrefslogtreecommitdiffhomepage
path: root/src/audio.c
diff options
context:
space:
mode:
authorRay <[email protected]>2018-04-02 18:10:38 +0200
committerGitHub <[email protected]>2018-04-02 18:10:38 +0200
commit3e0de314244fa943d1944bb92901043279b0a03e (patch)
treeae36ed7cbb10904be2acaa798177206accb2f132 /src/audio.c
parentbefd363966307068ed8a6709b6db6204a84a3531 (diff)
parent201007e426816eea145c6ed516165d8a10fc4301 (diff)
downloadraylib-3e0de314244fa943d1944bb92901043279b0a03e.tar.gz
raylib-3e0de314244fa943d1944bb92901043279b0a03e.zip
Merge pull request #504 from Martinfx/master
Fix potential bugs from static analysis
Diffstat (limited to 'src/audio.c')
-rw-r--r--src/audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio.c b/src/audio.c
index baa5256f..1fcf6f91 100644
--- a/src/audio.c
+++ b/src/audio.c
@@ -1553,7 +1553,7 @@ void UpdateMusicStream(Music music)
case MUSIC_AUDIO_OGG:
{
// 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;
#if defined(SUPPORT_FILEFORMAT_FLAC)