Browse Source

Merge branch 'master' of https://github.com/alxprd/stb into working

Sean Barrett 8 years ago
parent
commit
f9a83c0ae1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      stb_vorbis.c

+ 1 - 0
stb_vorbis.c

@@ -4987,6 +4987,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;
       }
    }