diff --git a/libs/codec/g726/libg726.vcproj b/libs/codec/g726/libg726.vcproj new file mode 100644 index 0000000000..b590766aa8 --- /dev/null +++ b/libs/codec/g726/libg726.vcproj @@ -0,0 +1,193 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/libs/codec/g726/src/g72x.c b/libs/codec/g726/src/g72x.c index e13b872b30..51dc09a9c1 100644 --- a/libs/codec/g726/src/g72x.c +++ b/libs/codec/g726/src/g72x.c @@ -47,6 +47,10 @@ static int power2[15] = {1, 2, 4, 8, 0x10, 0x20, 0x40, 0x80, 0x100, 0x200, 0x400, 0x800, 0x1000, 0x2000, 0x4000}; +#ifndef abs +#define abs(n) ((n)<0 ? -(n) : (n)) +#endif + /* * quan() *