Overwrites error parameter in stb_vorbis_open_memory when there is no error. This avoid confusion due to previous values.

master
Alejandro Pereda ago%!(EXTRA string=8 years)
parent 3e7f2d6ebd
commit 3f36b29589
  1. 1
      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;
}
}

Loading…
Cancel
Save