diff --git a/stb_vorbis.c b/stb_vorbis.c index c4f24d5..91ad4bb 100644 --- a/stb_vorbis.c +++ b/stb_vorbis.c @@ -4980,6 +4980,7 @@ stb_vorbis * stb_vorbis_open_memory(const unsigned char *data, int len, int *err if (f) { *f = p; vorbis_pump_first_frame(f); + if (error) *error = VORBIS__no_error; return f; } }