Browse Source

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

Sean Barrett 8 năm trước cách đây
mục cha
commit
f9a83c0ae1
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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) {
       if (f) {
          *f = p;
          *f = p;
          vorbis_pump_first_frame(f);
          vorbis_pump_first_frame(f);
+         if (error) *error = VORBIS__no_error;
          return f;
          return f;
       }
       }
    }
    }