mirror of https://github.com/nothings/stb.git
Merge branch 'avoid-name-clash' of https://github.com/jlnr/stb into working
This commit is contained in:
commit
c88489549d
|
@ -1271,12 +1271,12 @@ static void neighbors(uint16 *x, int n, int *plow, int *phigh)
|
|||
typedef struct
|
||||
{
|
||||
uint16 x,y;
|
||||
} Point;
|
||||
} stbv__point;
|
||||
|
||||
static int STBV_CDECL point_compare(const void *p, const void *q)
|
||||
{
|
||||
Point *a = (Point *) p;
|
||||
Point *b = (Point *) q;
|
||||
stbv__point *a = (stbv__point *) p;
|
||||
stbv__point *b = (stbv__point *) q;
|
||||
return a->x < b->x ? -1 : a->x > b->x;
|
||||
}
|
||||
|
||||
|
@ -3874,7 +3874,7 @@ static int start_decoder(vorb *f)
|
|||
g->book_list[j] = get_bits(f,8);
|
||||
return error(f, VORBIS_feature_not_supported);
|
||||
} else {
|
||||
Point p[31*8+2];
|
||||
stbv__point p[31*8+2];
|
||||
Floor1 *g = &f->floor_config[i].floor1;
|
||||
int max_class = -1;
|
||||
g->partitions = get_bits(f, 5);
|
||||
|
|
Loading…
Reference in New Issue