mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Buildfixes for stb_vorbis.h
This commit is contained in:
parent
cec74a9460
commit
1dcf57c046
8
deps/stb/stb_vorbis.h
vendored
8
deps/stb/stb_vorbis.h
vendored
@ -1248,12 +1248,12 @@ static void neighbors(uint16 *x, int n, int *plow, int *phigh)
|
|||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
uint16 x,y;
|
uint16 x,y;
|
||||||
} Point;
|
} STBV_Point;
|
||||||
|
|
||||||
static int STBV_CDECL point_compare(const void *p, const void *q)
|
static int STBV_CDECL point_compare(const void *p, const void *q)
|
||||||
{
|
{
|
||||||
Point *a = (Point *) p;
|
STBV_Point *a = (STBV_Point *) p;
|
||||||
Point *b = (Point *) q;
|
STBV_Point *b = (STBV_Point *) q;
|
||||||
return a->x < b->x ? -1 : a->x > b->x;
|
return a->x < b->x ? -1 : a->x > b->x;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3893,7 +3893,7 @@ static int start_decoder(vorb *f)
|
|||||||
g->book_list[j] = get_bits(f,8);
|
g->book_list[j] = get_bits(f,8);
|
||||||
return error(f, VORBIS_feature_not_supported);
|
return error(f, VORBIS_feature_not_supported);
|
||||||
} else {
|
} else {
|
||||||
Point p[31*8+2];
|
STBV_Point p[31*8+2];
|
||||||
Floor1 *g = &f->floor_config[i].floor1;
|
Floor1 *g = &f->floor_config[i].floor1;
|
||||||
int max_class = -1;
|
int max_class = -1;
|
||||||
g->partitions = get_bits(f, 5);
|
g->partitions = get_bits(f, 5);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user