aboutsummaryrefslogtreecommitdiff
path: root/src/3rdparty/stb/stb_vorbis.c
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-07-22 12:28:03 +0800
committerchai <chaifix@163.com>2018-07-22 12:28:03 +0800
commitb2c7bb0b283dd2a80f345e26c042d6ffaf05209c (patch)
treed0945284f54a35ce00de80135ff7863af7b6e32d /src/3rdparty/stb/stb_vorbis.c
parent50d060cd3a6831a1712195833c1f2774225e584c (diff)
update
Diffstat (limited to 'src/3rdparty/stb/stb_vorbis.c')
-rw-r--r--src/3rdparty/stb/stb_vorbis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/stb/stb_vorbis.c b/src/3rdparty/stb/stb_vorbis.c
index 873eda6..a863042 100644
--- a/src/3rdparty/stb/stb_vorbis.c
+++ b/src/3rdparty/stb/stb_vorbis.c
@@ -5331,7 +5331,7 @@ int stb_vorbis_decode_memory(const uint8 *mem, int len, int *channels, int *samp
stb_vorbis *v = stb_vorbis_open_memory(mem, len, &error, NULL);
if (v == NULL) return -1;
limit = v->channels * 4096;
- *channels = v->channels;
+ *channels = v->channels;
if (sample_rate)
*sample_rate = v->sample_rate;
offset = data_len = 0;