Skip to content

Commit 3df2dfa

Browse files
committed
Buildfix stb_vorbis.h
1 parent 906dbd8 commit 3df2dfa

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

deps/stb/stb_vorbis.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,6 @@ extern int stb_vorbis_get_samples_float(stb_vorbis *f, int channels, float **buf
101101
* at the end of the file. If there are no more samples in the file, returns 0.
102102
*/
103103

104-
#endif
105-
106104
/* ERROR CODES */
107105

108106
enum STBVorbisError
@@ -2419,6 +2417,9 @@ static int vorbis_decode_packet_rest(vorb *f, int *len, Mode *m, int left_start,
24192417
int low, high, pred, highroom, lowroom, room, val;
24202418
low = g->neighbors[j][0];
24212419
high = g->neighbors[j][1];
2420+
#if 0
2421+
neighbors(g->Xlist, j, &low, &high);
2422+
#endif
24222423
pred = predict_point(g->Xlist[j], g->Xlist[low], g->Xlist[high], finalY[low], finalY[high]);
24232424
val = finalY[j];
24242425
highroom = range - pred;
@@ -3880,3 +3881,5 @@ int stb_vorbis_get_samples_float(stb_vorbis *f, int channels, float **buffer, in
38803881
}
38813882
return n;
38823883
}
3884+
3885+
#endif /* STB_VORBIS_HEADER_ONLY */

0 commit comments

Comments
 (0)