diff options
author | Gregory Maxwell <greg@xiph.org> | 2012-07-18 12:12:35 -0400 |
---|---|---|
committer | Gregory Maxwell <greg@xiph.org> | 2012-07-18 12:12:35 -0400 |
commit | de0b5324b687c9e9a33722d84151de08ee7f82a9 (patch) | |
tree | 4d80ef9939e11bf1796dc50949c9790cb77930c9 /celt/vq.c | |
parent | 31e8a845923ace3cb818dd12839188cf3f29af80 (diff) | |
download | libopus-de0b5324b687c9e9a33722d84151de08ee7f82a9.tar.gz |
Replace C99 restrict keyword with OPUS_RESTRICT.
We had previously advised people to -Drestrict on
non-C99 compilers, but this creates problems for
some of the MSVC headers. Instead this just
uses a macro and defines it sanely.
Diffstat (limited to 'celt/vq.c')
-rw-r--r-- | celt/vq.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -109,7 +109,7 @@ static void exp_rotation(celt_norm *X, int len, int dir, int stride, int K, int /** Takes the pitch vector and the decoded residual vector, computes the gain that will give ||p+g*y||=1 and mixes the residual with the pitch. */ -static void normalise_residual(int * restrict iy, celt_norm * restrict X, +static void normalise_residual(int * OPUS_RESTRICT iy, celt_norm * OPUS_RESTRICT X, int N, opus_val32 Ryy, opus_val16 gain) { int i; |