aboutsummaryrefslogtreecommitdiffstats
path: root/stb_vorbis.c
diff options
context:
space:
mode:
authormick grierson <mickgrierson@gmail.com>2015-07-26 23:57:38 +0100
committermick grierson <mickgrierson@gmail.com>2015-07-26 23:57:38 +0100
commit68ee8eba9c3834604d220f4bf56e7e9d506a77a7 (patch)
treec021e67cc0ebc042a896259c2e508b8b60ad6c6d /stb_vorbis.c
parentcb3e92e75b1492bc1434431e975d1acf145c84fc (diff)
Some initial changes that are long overdue part 1
Diffstat (limited to 'stb_vorbis.c')
-rw-r--r--stb_vorbis.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/stb_vorbis.c b/stb_vorbis.c
index 822253d..d98b4a8 100644
--- a/stb_vorbis.c
+++ b/stb_vorbis.c
@@ -895,12 +895,12 @@ static void neighbors(uint16 *x, int n, int *plow, int *phigh)
typedef struct
{
uint16 x,y;
-} Point;
+} VorbisPoint;
int point_compare(const void *p, const void *q)
{
- Point *a = (Point *) p;
- Point *b = (Point *) q;
+ VorbisPoint *a = (VorbisPoint *) p;
+ VorbisPoint *b = (VorbisPoint *) q;
return a->x < b->x ? -1 : a->x > b->x;
}
@@ -3543,7 +3543,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];
+ VorbisPoint p[31*8+2];
Floor1 *g = &f->floor_config[i].floor1;
int max_class = -1;
g->partitions = get_bits(f, 5);